Mbed OS 6.5 features next-gen command line tools
Mbed CLI 2 will co-exist with the existing CLI tools for debugging ARM devices, but the aim is to replace it entirely in the future.
Because of the way the tools had evolved organically, the underlying architecture was such that developing new features was costly, difficult, and piled up technical debt, said Andy Powers, Senior Product Manager. “When we decided to develop the new command line tooling we wanted to ensure that the underlying architecture was extensible, to make it easy to add new functionality, more maintainable and gave Mbed developers a better experience than the existing tools,” he said.
“We also wanted to base the tools on existing open source solutions, and, after an evaluation, settled on CMake as best meeting our needs. As an aside, whilst we were busy developing the new tools, the team at the USC Rocket Propulsion Lab announced their CMake-based alternative to Mbed CLI. Thankfully, they were keen to assist us and we have been talking with them since and have incorporated many of their suggestions into our CMake-based version.”
The annual Mbed developer survey showed that build times continue to be an issue for the developer community, so a key requirement was to improve build times by 50 percent. The changes to the Mbed OS directory structure recently were part of this ongoing effort.
The team say they are actively adding support for more ARM-based target devices, ensuring code examples are ported and adding support for pre and post build hooks.
Mbed OS 6.5 is available now using Mbed Studio and the Mbed Online Compiler, or directly on the Mbed GitHub repository.
Verison .5 documentation; Source code on GitHub
Related articles
- NEW IoT DEVELOPMENT TOOLS
- END-TO-END LORA PROVIDES SECURE KEY PROVISIONING
- EDGE AI CHIP MARKET TO OVERTAKE CLOUD BY 2025