diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -74,3 +74,25 @@ GPIO and timing, i.e. all needed to blink an LED. For example code and instructions on blinking, follow https://github.com/micropython/micropython/tree/master/zephyr#quick-example (the code there needs to be updated for LED GPIO as used by your board!) + + +Zephyr.js +--------- + +Zephyr.js currently officially supports only 2 boards: arduino_101 (x86) +and frdm_k64f. It various places, it so far hardcodes support for these +2 boards and bundles its own Zephyr snapshot, so building for other boards +is complicated (and has a good chance to fail still). This is known issue +and work is ongoing to improve the situation (but no specific ETA). + +Build with: + + make micropython BOARD=frdm_k64f + +The result is in the top-level directory, file + + zephyr.js-<board>.bin + +Default Zephyr.js mode of operation is no interactive mode, a JavaScript +application is bundled into the firmware binary. Steps above use default +"hello world" application, which prints a message to the console. |