7个版本

0.14.1 2021年4月24日
0.14.0 2021年4月9日
0.13.1 2020年12月23日
0.13.0 2020年11月28日
0.12.1 2020年5月13日

嵌入式开发中排名第174

Download history 174/week @ 2024-03-11 192/week @ 2024-03-18 273/week @ 2024-03-25 247/week @ 2024-04-01 125/week @ 2024-04-08 154/week @ 2024-04-15 165/week @ 2024-04-22 170/week @ 2024-04-29 190/week @ 2024-05-06 157/week @ 2024-05-13 191/week @ 2024-05-20 102/week @ 2024-05-27 126/week @ 2024-06-03 133/week @ 2024-06-10 160/week @ 2024-06-17 175/week @ 2024-06-24

每月下载量598
59 个库使用

MIT/Apache

180KB
3.5K SLoC

crates.io maintenance

drone-cortexm

ARM® Cortex®-M平台库,用于Drone嵌入式操作系统。

支持的内核

架构 内核名称 Rust目标 cortexm_core配置标志
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目标三联和cortexm_core配置标志。

文档

用法

将库添加到您的Cargo.toml依赖项

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

按照以下方式添加或扩展std功能

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

许可证

根据您的要求许可

贡献

除非您明确声明,否则根据Apache-2.0许可证定义,您提交的任何有意包含在该作品中的贡献,应双授权如上所述,不附加任何额外条款或条件。

依赖项

~5–6.5MB
~129K SLoC