#arm #cortex #rtos #bare-metal #firmware

nightly no-std drone-cortexm

ARM® Cortex®-M platform crate for Drone, an Embedded Operating System

6 releases

0.14.0 Apr 9, 2021
0.13.1 Dec 23, 2020
0.13.0 Nov 28, 2020
0.12.2 Sep 27, 2020
0.12.1 May 13, 2020

#11 in Embedded development

Download history 14/week @ 2020-12-24 16/week @ 2020-12-31 32/week @ 2021-01-07 22/week @ 2021-01-14 27/week @ 2021-01-21 19/week @ 2021-01-28 18/week @ 2021-02-04 43/week @ 2021-02-11 32/week @ 2021-02-18 20/week @ 2021-02-25 16/week @ 2021-03-04 14/week @ 2021-03-11 15/week @ 2021-03-18 40/week @ 2021-03-25 10/week @ 2021-04-01 47/week @ 2021-04-08

103 downloads per month
Used in less than 59 crates


3.5K SLoC

crates.io maintenance


ARM® Cortex®-M platform crate for Drone, an Embedded Operating System.

Supported Cores

Architecture Core name Rust target cortexm_core config flag
ARMv7-M ARM® Cortex®-M3 r0p0 thumbv7m-none-eabi cortexm3_r0p0
ARMv7-M ARM® Cortex®-M3 r1p0 thumbv7m-none-eabi cortexm3_r1p0
ARMv7-M ARM® Cortex®-M3 r1p1 thumbv7m-none-eabi cortexm3_r1p1
ARMv7-M ARM® Cortex®-M3 r2p0 thumbv7m-none-eabi cortexm3_r2p0
ARMv7-M ARM® Cortex®-M3 r2p1 thumbv7m-none-eabi cortexm3_r2p1
ARMv7E-M ARM® Cortex®-M4 r0p0 thumbv7em-none-eabi cortexm4_r0p0
ARMv7E-M ARM® Cortex®-M4 r0p1 thumbv7em-none-eabi cortexm4_r0p1
ARMv7E-M ARM® Cortex®-M4F r0p0 thumbv7em-none-eabihf cortexm4f_r0p0
ARMv7E-M ARM® Cortex®-M4F r0p1 thumbv7em-none-eabihf cortexm4f_r0p1
ARMv8-M ARM® Cortex®-M33 r0p2 thumbv8m.main-none-eabi cortexm33_r0p2
ARMv8-M ARM® Cortex®-M33 r0p3 thumbv8m.main-none-eabi cortexm33_r0p3
ARMv8-M ARM® Cortex®-M33 r0p4 thumbv8m.main-none-eabi cortexm33_r0p4
ARMv8-M ARM® Cortex®-M33F r0p2 thumbv8m.main-none-eabihf cortexm33f_r0p2
ARMv8-M ARM® Cortex®-M33F r0p3 thumbv8m.main-none-eabihf cortexm33f_r0p3
ARMv8-M ARM® Cortex®-M33F r0p4 thumbv8m.main-none-eabihf cortexm33f_r0p4

Rust target triple and cortexm_core config flag should be set at the application level according to this table.



Add the crate to your Cargo.toml dependencies:

drone-cortexm = { version = "0.14.0", features = [...] }

Add or extend std feature as follows:

std = ["drone-cortexm/std"]


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~103K SLoC