JavaScript REPL (Read-Eval-Print-Loop) for mbed OS 5.
Install:
-
A recent version of node.js.
-
A global version of Gulp, via:
$ npm install -g gulp
-
mbed CLI and its dependencies.
- Run
npm install
. - Run
gulp --target=YOUR_TARGET_NAME
.- To find your target name, look at the platforms page for your development board.
- Copy the
mbedos5.hex
ormbedos5.bin
file frombuild/out/YOUR_TARGET_NAME
onto your development board. - Connect a serial monitor to your device (baud rate 115200).
- Hack along!