This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Apache Mynewt" – news · newspapers · books · scholar · JSTOR (November 2018) (Learn how and when to remove this template message)
Apache Mynewt Logo
DeveloperApache Software Foundation, community
Written inC (Mynewt OS)
Go (Newt Tool)
Working stateStable
Source modelOpen-source
Latest release1.11.0 / September 7, 2023; 5 months ago (2023-09-07)[1]
PlatformsCortex-M0, Cortex-M3, Cortex-M4, Cortex-M7, MIPS32, Microchip PIC32, RISC-V
LicenseApache License 2.0

Apache Mynewt is a modular real-time operating system for connected Internet of things (IoT)[2] devices that must operate for long times under power, memory, and storage constraints. It is free and open-source software incubating under the Apache Software Foundation,[3] with source code distributed under the Apache License 2.0, a permissive license that is conducive to commercial adoption of open-source software.[4]


Apache Mynewt is a real-time operating system with a rich set of libraries intended to make prototyping, deploying, and managing 32-bit microcontroller based IoT devices easy.[5] It is highly composable, to allow building embedded system applications (e.g., locks, medical devices, industrial IoT) across different types of microcontrollers. The name Mynewt is wordplay on the English word minute, meaning very small: the kernel is only 6 KB in size.

The OS is designed for connectivity, and comes with a full implementation of the Bluetooth low energy 4.2 stack. With the addition of BLE (supporting all Bluetooth 4.2 compliant security features except privacy) and various utilities such as the default file system, console, shell, logs, stats, etc., the image size is approximately 96 KB for the Nordic nRF51822 Bluetooth SoC.[6] This size metric excludes the boot loader image.

Core features

The core operating system supports:[3]

Other features and utilities include:

Bluetooth low energy

The first network stack available in Mynewt is Bluetooth low energy[7] and is called NimBLE. It complies with Bluetooth Core Specification 4.2.[8]

NimBLE includes both the host and controller components. Access to the controller source code makes the BLE performance highly configurable. For example, the BLE throughput can be adjusted by changing the connection intervals, data packet size, packet queue size etc. A use case requiring a large number of concurrent connections can similarly be configured, provided there is adequate RAM allocated. Example applications that demonstrate how to use available services are included in the package.

Supported boards

The operating system is designed for cross-platform use in embedded systems (devices) and microcontrollers. It includes board support packages for the following, as of July 2023:[9]

Package management

The project includes the Newt Tool which is a command-line interface (CLI) based smart source package manager system for embedded systems development. Also, it allows composing builds with specified packages and compiler options, generating images and their digital signatures, and finally downloading and debugging the firmware on different targets.

See also


  1. ^ "Download - Apache Mynewt". Apache Software Foundation. Retrieved 2023-10-07.
  2. ^ "Arduino and Runtime Collaborate to Introduce Apache Mynewt (incubating) to Arduino Ecosystem". (Press release). 20 May 2016. Retrieved 2016-05-24.
  3. ^ "Mynewt Incubation Status – Apache Incubator". Retrieved 2016-05-24.
  4. ^ "Apache Mynewt RTOS Addresses IoT Power, Memory, Storage Constraints". Retrieved 2016-06-28.
  5. ^ "Open RTOS Targets Net of Things". Retrieved 2016-05-24.
  6. ^ "nRF51822". Archived from the original on 2016-05-17. Retrieved 2016-05-24.
  7. ^ "Apache Mynewt finds a home on Arduino Srl's latest SBCs". Retrieved 2016-05-24.
  8. ^ Bluetooth Core Specification 4.2
  9. ^ "Getting Help". GitHub.