m0 beta

Mbed OS 2 and Mbed OS 5

This is the handbook for Mbed OS 2. If you’re working with Mbed OS 5, please see the new handbook.

This page explains how to get up and running with the new mbed NXP LPC11U24 beta.

For reporting back and further questions, see the forum thread:

To allow you to use this beta board, you need to do a few things differently than the normal. In particular, you need to:

  • Use the beta version of the website
  • Import the beta version of the mbed libraries

These instructions take you through the steps, showing where you have to jump through a few hoops to allow you to use this in beta.


To get started, you need to create an mbed NXP LPC11U24 login account:

  1. Plug in the mbed board; a flash drive will appear
  2. Click on the mbed.htm file on the mbed drive to take you to the signup page
  3. Choose "Signup", and enter your email, username and password to setup an account
  • If the board has already been used to create an account, you can use the provided signup code instead

Enabling Betamode

Once you are logged in, you need to switch to "betamode" to enable beta support for the LPC11U24.

Click the following link to enable betamode:


You need to have the site in betamode for this to work with the LPC11U24!

If later on you get a compiler warning saying "This feature is not supported...", you're probably not in betamode

Importing the Beta libraries and Getting Started

Normally in mbed, you can just create a new program and a default program with the mbed libraries are pulled in. However, we want to use the beta libraries, so instead of creating a new default program, we instead import the beta default program:

To import the default beta program and libraries:

Compiling and Downloading

To compile and download the hello world to the mbed, simply:

  • Click compile
  • Choose to download it to the mbed drive
  • Hit reset to see blinky run!

Workshop Examples

Now you have something working, you can start experimenting. Modify the default program, and try and recompile and download. Hit reset to run the latest program.

Here are slides for various example projects, and the projects you can import to explore and get started with:


Programs to import:


New library for USBDevice coming... (USBMouse/Keyboard/MIDI/HID/MSC/Serial)

First HID example:

All wikipages