7 releases

0.14.1 Apr 24, 2021
0.14.0 Apr 9, 2021
0.13.1 Dec 23, 2020
0.13.0 Nov 28, 2020
0.12.1 May 13, 2020

#94 in #drone

Download history 176/week @ 2024-03-11 191/week @ 2024-03-18 281/week @ 2024-03-25 242/week @ 2024-04-01 126/week @ 2024-04-08 157/week @ 2024-04-15 166/week @ 2024-04-22 170/week @ 2024-04-29 192/week @ 2024-05-06 159/week @ 2024-05-13 192/week @ 2024-05-20 105/week @ 2024-05-27 123/week @ 2024-06-03 138/week @ 2024-06-10 162/week @ 2024-06-17 185/week @ 2024-06-24

612 downloads per month
Used in 60 crates (via drone-cortexm)

MIT/Apache

28KB
698 lines

crates.io maintenance

Drone Cortex-M

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

Supported Cores

Architecture Core name Build target drone_cortexm Rust flag
ARMv6-M ARM® Cortex®-M0+ r0p0 thumbv6m-none-eabi cortexm0plus_r0p0
ARMv6-M ARM® Cortex®-M0+ r0p1 thumbv6m-none-eabi cortexm0plus_r0p1
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 drone_cortexm Rust flag should be set at the application level according to this table.

Documentation

Usage

Add the crate to your Cargo.toml dependencies:

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

Add or extend host feature as follows:

[features]
host = ["drone-cortexm/host"]

License

Licensed under either of

at your option.

Contribution

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.


lib.rs:

Procedural macros for drone-cortexm.

Dependencies

~3.5–5MB
~92K SLoC