Mbed Blog

Webinar: Utilizing the OMA LWM2M protocol to increase your productivity

/media/uploads/dirons/mbed_webinar_socialmediagraphic-sm.jpg

The Lightweight Machine-to-Machine (LWM2M) protocol has been developed by the Open Mobile Alliance (OMA) to offer a faster time to market by standardizing commonly required device management functionality. Device management enables efficient collection of sensor data and provides remote management capabilities and also offers essential security features, including firmware updates. With LWM2M as an integral part of the foundation operating systems designed for IoT devices, like mbed OS, devices can communicate with cloud-based infrastructures that implement this standardized device management solution, such as mbed Cloud.

Continue reading »

Simplify your code with mbed-events

In mbed OS 5.2, we introduced mbed-events, an eventing system that can run in an RTOS thread. Using an event loop is very useful to defer execution of code to a different context. An example would be to defer execution from an interrupt context (ISR) to the main loop, or to defer execution from the high-priority thread to a lower priority thread. Now that mbed-events is part of mbed OS 5.2, we'd like to show how this can be used to improve your applications.

For more information about the mbed-events library, have a look at the documentation. All code in this blog post was tested against mbed OS 5.2.3.

Continue reading »

Why JavaScript on microcontrollers makes sense

Three weeks ago, during JSConf.asia 2016, we announced JavaScript on mbed, which enables developers to write firmware for IoT devices in JavaScript. This is not done by transpiling JavaScript into C++ or Assembly, but rather by running the JerryScript VM directly on top of ARM's mbed OS 5, which can be run on cost-effective microcontrollers. This announcement caused an interesting debate, including a heated thread on the Reddit Programming subreddit with 192 comments.

Continue reading »

mbed Connect Asia 2016: Bringing IoT back to the birthplace of devices

The ARM mbed team wrapped up an incredibly busy 2016 last week, with our first ever mbed Connect Asia event, held in Shenzhen, China. During one action-packed day, we mingled with our developers and our partners, hosted two parallel technical tracks and celebrated mbed’s success throughout Asia.

Continue reading »

Reducing memory usage by tuning RTOS configuration

Two weeks ago, we blogged about optimizing memory usage for mbed OS 5.2, and today we want to show how memory usage can be decreased even further. This can be accomplished by tuning the RTOS configuration to our specific needs, or even turning off mbed RTOS altogether. This allows us to fit mbed mbed OS 5.2 on the smallest targets, like the nRF51822 which has only 6K of RAM available for user-space applications.

All programs in this blog post are compiled for the nRF51-DK target using GCC 4.9.3.

Continue reading »

Optimizing memory usage in mbed OS 5.2

Note

This article is about an outdated version of Mbed OS. More information about memory optimization can be found in the following blog posts: Reducing memory usage by tuning RTOS configuration, Reducing memory usage with a custom printf and newlib-nano and Where did my flash go? Visualizing linker statistics. Mbed OS also supports runtime memory tracing and runtime memory statistics.

Three months ago we released mbed OS 5, the latest version of our operating system for microcontrollers. While we added a lot of new features - including an RTOS - we also saw a bigger than expected increase in flash and RAM usage, two things that are scarce on embedded devices. Reason for Vincent Coubard, Senior Software Engineer on the mbed team, to dig through the .map files and see how we can decrease memory usage in mbed OS.

Continue reading »

Using Bluetooth Low Energy from JavaScript on mbed

Some time ago we blogged about adding JavaScript support for mbed OS 5 through the JerryScript VM. In this blog post we'll show how you can use the Bluetooth Low Energy API from a JavaScript application. Writing your BLE application in JavaScript on mbed means enjoying the flexibility of a dynamic language while leveraging the well tested, widely used and battery friendly mbed BLE API.

In this article we'll write a small program in JavaScript that allows us to control an LED on our development board from a smartphone.

Continue reading »

Highlights from mbed Connect USA to ARM TechCon 2016

/media/uploads/katiedmo/mbedconnectbannerchina.png Needless to say, last week was extremely busy for the mbed Team. Monday Oct 24 kicked off with our first developer summit event, ARM mbed Connect – USA, followed by the announcement of the new mbed Cloud services and the mbed Zone at ARM TechCon 2016.

Continue reading »

Winner of the Hackster.io Hexiwear Contest!

With more than 1000 participants and 65 projects submitted for the Hackster.io Hexiwear contest, it was incredibly difficult for the selection committee to choose a winner for the best mbed Enabled project. There were plenty of fantastic ideas and the competition was fierce!

Continue reading »

Whitepaper: Managing Internet of Things Devices with the Lightweight Machine-to-Machine (LWM2M) Protocol

Connecting Internet of Things (IoT) devices to the Internet and managing them offers many benefits but also requires more complex software stacks on IoT devices. The days of in-house designs of operating systems and communication protocol stacks are numbered.

Continue reading »

You need to log in to post a reply