Open source operating system Mynewt is nearing its v1.0 release, offering an alternative to the proprietary kernels and scheduler packages offered by the companies that manufacture the microcontrollers (MCUs) that will comprise the bulk of IoT devices.
The goal of the project is to produce a open source stack for Bluetooth devices, aiming to comprise an operating system rather than just a Linux kernel that has to be extensively adapted and augmented for use. The first chip the Mynewt stack has been ported to is the Nordic Semiconductor NRF52 – and Mynewt completely replaces Nordic’s SoftDevice stack on the microcontroller.
Mynewt, a play on minute, as in diminutive, is currently being finalized – with v1.0 expected in October, and betas in August. It looks like rather quick progress for the project, which has been active for about 10-months.
The Mynewt OS is composable via a Go-like package management tool, which should mean that developers can tweak it according to requirements. As it is a full OS, it includes the lower-layer components, like the boot loaders, file systems, and logs, as well as the project is currently working on adding support for JavaScript and Python.
Open source technology is found in the vast majority of IoT projects – between 70% to 90%, depending on how the question is phrased. In a business environment, where multiple technologies from different companies are integrated into a platform offering, it is almost certain that some element of that value chain will be using open source tech.
As such, open source projects like Mynewt are going to become increasingly important to the IoT as time goes on, especially as the industry is so collectively concerned with the threat of vendor lock-in. Open sourcing the MCUs is the first step in many of the IoT value chains, and as such, projects like Mynewt are especially important to follow – and see where they are adopted and profited from.
Mynewt has been recently bolstered by support from Arduino, with the OS now available for the Primo and Otto boards, and will soon be available for WiFi via the Esperessif ESP8266. Arduino announced the integration with Runtime back in May, a software house that is a main contributor to the Mynewt project.
James Pace, CEO of Runtime, said that the Mynewt project was notable in that it is a community driven and permissively licensed project in the embedded space, and contrasts it with ARM’s mbed ecosystem, the Zephyr Project (RTOS for resource-constrained devices), or the superbly named RIoT (RTOS for IoT).
Pace explained that 32-bit MCUs, like the Nordic unit, are increasingly getting more memory and peripheral support, and that developers need to be able to leverage these gains with a more capable stack – Mynewt, in this instance. The value proposition for developers is quicker debugging, as well as more control over the software itself – which they aren’t guaranteed to get by using the code offered by the hardware vendor.
Runtime would aim to offer Mynewt in a similar way the Red Hat offers Linux, providing commercial distribution and support, for those needing to push updates and control devices from the cloud. The SaaS model and managed services would see Runtime offer a way for companies to adopt the technology without having to invest the time and resources into integrating Mynewt onto their devices, and then setting up and managing the cloud services that would coordinate them.
Mynewt aims to expand to cover 802.15.4 soon, which would allow ZigBee and Thread developers to consider the OS for their devices. Pace called 802.15.4 part of Mynewt’s natural trajectory.