aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-11-16 14:28:49 +0300
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-11-16 14:28:49 +0300
commitc6de4af6579a343531234414ddd1ddaf9aea51b1 (patch)
treeb76a58345d6557af0b80a4e85c16553e49ecaadb /README
parenteb4f9aefa8a5514c92aaa8a5f60998ddf0fdb356 (diff)
Makefile, README: Add Zephyr.js support.
So far officially builds only for BOARD=frdm_k64f.
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 22 insertions, 0 deletions
diff --git a/README b/README
index 562e9f3..0c2be00 100644
--- a/README
+++ b/README
@@ -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.