PlatformIO Community

Support for Mbed OS 6: Stable and mature APIs, Cloud services support, Enhancements to the Bare Metal Profile

mbedos-logo

We’re happy to announce updated support for the new Mbed OS 6 - a free, open-source embedded operating system designed specifically for the low-powered, constrained and connected devices.

Besides many great improvements, security updates, and bug fixes, Mbed OS 6 also brings a lot of breaking changes. Mbed OS 6 removes a great deal of deprecated functionality, heavily reduces the list of supported boards and platforms, only officially supported and well-maintained targets are left.

For this reason, we decided to support both Mbed OS6 and Mbed OS5 to allow our users to compile legacy Mbed projects on targets that don’t support OS6 to keep up with the latest platform updates. Each development platform now contains a list of deprecated boards that is used to dynamically select the proper version of Mbed OS (OS5 or OS6).

Major enhancements in Mbed OS 6 include:

  • Stable and mature APIs
  • Support for the most popular boards
  • Cloud services support
  • Improved Bare Metal Profile as a substitute for Mbed OS 2

What is new in 6.2.0:

  • Updated the Cordio stack to version 20.05
  • API updates for Wi-SUN networks

What is new in 6.1.0:

  • Enhancements for Arm’s Platform Security Architecture
  • Quality improvements for specific drivers

What is new in 5.15:

  • Support for static pin map tables
  • Support for GCC9
  • Reduced memory consumption

If for some reason you don’t want to use the latest Mbed OS 6, you can specify the package version using platform_packages option in platformio.ini file, e.g.:

[env:nucleo_f207zg]
platform = ststm32
framework = mbed
board = nucleo_f207zg
build_flags = -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
platform_packages =
    framework-mbed @ ~6.51504.0

Please note, the Teensy and Wiznet7500 platforms don’t support Mbed OS 6, so they can be used only with Mbed OS 5.

Use PlatformIO and its professional 1-Click solutions (PIO Unified Debugger, PIO Unit Testing) without dependencies to 3rd party tools or build systems. Everything works out-of-the-box. All famous operating systems (Windows, macOS, Linux) and over 10+ popular IDEs are ready to make you happy.


Links

Examples


Thanks,
Your friends at PlatformIO

3 Likes