diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2016-11-16 14:28:49 +0300 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2016-11-16 14:28:49 +0300 |
commit | c6de4af6579a343531234414ddd1ddaf9aea51b1 (patch) | |
tree | b76a58345d6557af0b80a4e85c16553e49ecaadb /README | |
parent | eb4f9aefa8a5514c92aaa8a5f60998ddf0fdb356 (diff) |
Makefile, README: Add Zephyr.js support.
So far officially builds only for BOARD=frdm_k64f.
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. |