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日

#94#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 每月下载量
60 个crate中使用(通过 drone-cortexm

MIT/Apache

28KB
698

crates.io maintenance

Drone Cortex-M

Drone嵌入式操作系统平台的ARM® Cortex®-M crate。

支持的内核

架构 内核名称 构建目标 drone_cortexm Rust标志
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目标三重和drone_cortexm Rust标志。

文档

用法

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

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

如下添加或扩展host功能

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

许可证

在以下两者中选择一个进行许可

任选其一。

贡献

除非您明确声明,否则根据Apache-2.0许可证定义的,您有意提交的任何贡献,包括但不限于添加到作品中的内容,均应按上述方式双授权,不得附加任何其他条款或条件。


lib.rs:

drone-cortexm提供的进程宏。

依赖项

约3.5-5MB
约92K SLoC