Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 2.68 KB

Getting-Started.md

File metadata and controls

51 lines (35 loc) · 2.68 KB

Supported platforms

Current supported platforms are Linux, NuttX, Tizen and TizenRT

OSX 10.10 as development host

H/W boards

  • Current supporting
    • STM32F4-Discovery + BB
    • Raspberry Pi 2
    • Raspberry Pi 3
    • Samsung ARTIK 053
    • Samsung ARTIK 530

We will support the correct behavior of APIs for above environments. However, since IoT.js is targeting various kind IoT devices and platforms, single implementation cannot be the best practice for every environments. Therefore embedders should be in charge of optimization for their own environments. For more details on optimization, see the Optimization Tips page.

Build script

There is a script to help you build IoT.js called "build.py" in source repository. Run tools/build.py --help command to check all of the build options.

How to Build

  tools/build.py --clean

Frequently used build options

--clean Clean build directory before build (default: False).

--no-snapshot Disable snapshot generation for IoT.js. It is useful for debugging sessions.

--profile PROFILE Specify the module profile file for IoT.js. It is used for enable and disable modules. See also "How to write a new module"

--run-test [{full,quiet}] Execute tests after build, optional argument specifies the level of output for the test runner.

--jerry-debugger Enable JerryScript debugger, so JavaScript could can be investigated with an available debugger client (eg.: Python Debugger Console or IoT.js Code). See also "Use JerryScript Debugger".

--js-backtrace {ON,OFF} Enable/disable backtrace information of JavaScript code (default: ON in debug and OFF in release build).