Using JerryScript and mbed OS 5 on ARM-based microcontrollers
We make use of the JerryScript runtime, which runs on devices with just 64K of RAM. The runtime sits on top of mbed OS, our IoT platform operating system.
With over a hundred supported development boards, and thousands of well tested libraries, the mbed ecosystem gives you a strong platform for development.
Since 2008, the mbed OS developer community has grown to over 200,000 developers, working on a diverse range of IoT applications.
1. Grab an mbed OS 5 development board with at least 64K of RAM.
3. Connect your development board to your computer - it mounts as a mass storage device.
4. From a terminal, run:
5. Drag build/out/YOUR_TARGET_NAME/mbedos5.bin (or mbedos5.hex) onto the mass storage device.
6. Blinky should be running!
A super simple example that blinks an LED on your target development board via digital out.View on GitHub »
Bluetooth Low Energy
This application exposes two services: one to show a (fake) battery level, and one to control LED1.View on GitHub »
Connect to the internet
A client example that allows you to connect a device to the internet over WiFi, Ethernet, 6LoWPAN or Thread.View on GitHub »
Frequently asked questions
I want to use a particular model of sensor, how do I do that?
What is the performance impact?
How is this different to Johnny Five on Arduino?
How is this different to node.js on a Raspberry Pi or Tessel 2?
Can I code without a device?
Not really, but there is a very experimental simulator.
I want to get involved!
That's great! We're just getting started with this project, and we'd love your help. You can help in the following ways:
All of our code is open source (Apache 2.0), and we're happy to welcome contributions. Our main repositories are:
ARMmbed/mbed-os - for work on mbed OS 5.
ARMmbed/mbed-js-* - for example programs and bindings to non-core parts of mbed OS.
Give feedback or report bugs
Both can be reported at our GitHub repository.
Help on making a C++ binding generator
In 80% of the cases bindings are very straightforward, and a way to automate their creation will be super beneficial for community adoption. If you're interested in helping out, please get in touch.