NINA-B1 series - System Integration Manual
UBX-15026175 - R06
Software
Page 19 of 48
2.2.2
mbed OS
ARM mbed OS is an open source embedded operating system designed specifically for the "things" in the
Internet of Things. It includes all the features to develop a connected product, including security, connectivity, an
RTOS, and drivers for sensors and I/O devices. With an RTOS core, based on the widely used open-source CMSIS-
RTOS RTX, mbed OS supports deterministic, multithreaded real time software execution. ARM mbed OS has
native support for building across the ARM Compiler 5, GCC, and IAR compiler toolchains.
2.2.2.1
Getting started with the mbed OS
A list of prerequisites to getting started with mbed OS 5 development on EVK-NINA-B1 is provided at
https://github.com/ARMmbed/mbed-os-example-ble#getting-started.
mbed CLI is the name of the ARM mbed command line tool, which enables the full mbed workflow such as
repositories version control, maintaining dependencies, updating from remotely hosted repositories (GitHub,
GitLab and mbed.org), and invoking ARM mbed's own build system. The document available at
https://github.com/ARMmbed/mbed-cli#introduction covers the installation and usage of the mbed CLI.
For a description on how to create a build target for EVK-NINA-B1, see the
NINA-B1 ARM mbed Custom Target
Application Note [5].
Bluetooth low energy examples from ARM mbed are available at https://github.com/ARMmbed/mbed-os-
example-ble.
2.2.2.2
Create a custom target for mbed
2.2.2.2.1
Add target
Add a new JSON object to the
targets.json
file located in the
“\mbed-os\targets\”
folder. Figure 5 shows an
example of the JSON object for EVK-NINA-B1. See
Standard properties [6]
section
for a list of the properties
that are known to the mbed build system.
The above-mentioned folder location is as per the ARM mbed OS release 5.2.