Blinky for JavaScript on mbed.
Install:
-
A recent version of node.js.
-
A global version of Gulp, via:
$ npm install -g gulp
-
Mbed CLI and its dependencies.
On Windows you'll also need:
Make sure that make
, arm-none-eabi-gcc
and all other tools are in your PATH.
- 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. - Blinky will run!