Giter Club home page Giter Club logo

jerryscript's Introduction

jerryscript on RT-Thread

1、介绍

JerryScript是一个轻量级的JavaScript引擎,用于资源受限的设备,如微控制器。它可以运行在小于64 kb RAM和小于200 kb的闪存的设备上。由于这个特性,它被移植到了RT-Thread中。

API Reference :http://jerryscript.net/api-reference/

1.1 目录结构

Jerryscript on RT-Thread软件包目录如下所示:

名称 说明
examples 示例代码,示范如何导入C++的API与添加builtin module
jerryscript jerryscript 官方库
rtthread-port RT-Thread 移植代码目录

1.2 许可证

Jerryscript on RT-Thread软件包遵循Apache-2.0 许可,详见 LICENSE 文件。

1.3 依赖

  • RT-Thread 3.0+
  • finsh 软件包

2、 获取软件包

使用 Jerryscript on RT-Thread 软件包需要在 RT-Thread 的包管理中选中它,具体路径如下:

RT-Thread online packages
    language packages  --->
        [ ] Lua: A lightweight, embeddable scripting language.  --->
        [*] JerryScript: Ultra-lightweight JavaScript engine for the Internet of Things.  --->
        [ ] MicroPython: A lean and efficient Python implementation for microcontrollers and constrained systems.  --->

然后让 RT-Thread 的包管理器自动更新,或者使用 pkgs --update 命令更新包到 BSP 中。

3、使用Jerryscript on RT-Thread软件包

4、 注意事项

  • Jerryscript on RT-Thread软件包版本为latest,请勿选择版本V1.0.0
  • Jerryscript on RT-Thread软件包依赖finsh软件包,请确认在 RT-Thread 的包管理中选中了finsh,具体路径如下:
    RT-Thread Components
        Command shell  --->
            [*] finsh shell
    

5、 联系方式 & 感谢

jerryscript's People

Contributors

bernardxiong avatar lymzzyh avatar sunxofrtt avatar yangfasheng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.