drone-stm32-map-pieces-12
cargo install drone-stm32-map-pieces-12

drone-stm32-map-pieces-12

STM32 peripheral mappings for Drone, an Embedded Operating System.

by drone-os

0.13.0 (see all)License:MIT OR Apache-2.0
cargo install drone-stm32-map-pieces-12
Readme

crates.io maintenance

drone-stm32-map

STM32 peripheral mappings for Drone, an Embedded Operating System.

This crate uses CMSIS-SVD files provided by STMicroelectronics to automatically generate Drone register and interrupt bindings. However only the corresponding Reference Manual is the single source of truth. A difference between this crate bindings and the Reference Manual is considered a bug. Fixing such a bug is not a breaking change.

This crate re-exports the contents of [drone_cortexm::map] module and is a drop-in replacement for it.

Supported Devices

stm32_mcuCore nameReference manualAvailable features
stm32f100ARM® Cortex®-M3 r1p1RM0041dma gpio spi tim
stm32f101ARM® Cortex®-M3 r1p1RM0008dma gpio spi tim
stm32f102ARM® Cortex®-M3 r1p1RM0008dma gpio spi tim
stm32f103ARM® Cortex®-M3 r1p1RM0008dma gpio spi tim
stm32f107ARM® Cortex®-M3 r1p1RM0008dma gpio spi tim
stm32f303ARM® Cortex®-M4F r0p1RM0316adc dma exti gpio i2c tim
stm32f401ARM® Cortex®-M4F r0p1RM0368adc dma exti gpio i2c spi tim uart
stm32f405ARM® Cortex®-M4F r0p1RM0090adc dma exti gpio i2c spi tim uart
stm32f407ARM® Cortex®-M4F r0p1RM0090adc dma exti gpio i2c spi tim uart
stm32f410ARM® Cortex®-M4F r0p1RM0401adc dma exti gpio i2c spi tim uart
stm32f411ARM® Cortex®-M4F r0p1RM0383adc dma exti gpio i2c spi tim uart
stm32f412ARM® Cortex®-M4F r0p1RM0402adc dma exti gpio i2c spi tim uart
stm32f413ARM® Cortex®-M4F r0p1RM0430adc dma exti gpio i2c spi tim uart
stm32f427ARM® Cortex®-M4F r0p1RM0090adc dma exti gpio i2c spi tim uart
stm32f429ARM® Cortex®-M4F r0p1RM0090adc dma exti gpio i2c spi tim uart
stm32f446ARM® Cortex®-M4F r0p1RM0390adc dma exti gpio i2c spi tim uart
stm32f469ARM® Cortex®-M4F r0p1RM0386adc dma exti gpio i2c spi tim uart
stm32l4x1ARM® Cortex®-M4F r0p1RM0394dma exti gpio i2c rtc spi tim uart
stm32l4x2ARM® Cortex®-M4F r0p1RM0394dma exti gpio i2c rtc spi tim uart
stm32l4x3ARM® Cortex®-M4F r0p1RM0394dma exti gpio i2c rtc spi tim uart
stm32l4x5ARM® Cortex®-M4F r0p1RM0351dma exti gpio i2c rtc spi tim uart
stm32l4x6ARM® Cortex®-M4F r0p1RM0351dma exti gpio i2c rtc spi tim uart
stm32l4r5ARM® Cortex®-M4F r0p1RM0432adc dma exti gpio i2c rtc spi tim uart
stm32l4s5ARM® Cortex®-M4F r0p1RM0432adc dma exti gpio i2c rtc spi tim uart
stm32l4r7ARM® Cortex®-M4F r0p1RM0432adc dma exti gpio i2c rtc spi tim uart
stm32l4s7ARM® Cortex®-M4F r0p1RM0432adc dma exti gpio i2c rtc spi tim uart
stm32l4r9ARM® Cortex®-M4F r0p1RM0432adc dma exti gpio i2c rtc spi tim uart
stm32l4s9ARM® Cortex®-M4F r0p1RM0432adc dma exti gpio i2c rtc spi tim uart

stm32_mcu config flag should be set at the application level according to this table.

Documentation

The API documentation intentionally skips auto-generated [reg] and [thr] bindings. Otherwise it would use several gigabytes of space and would be very slow to render in a browser. One should refer to the Reference Manual instead. And to get an idea of what the API looks like on the Drone side, look at the [drone_cortexm::map] module documentation.

Usage

Add the crate to your Cargo.toml dependencies:

[dependencies]
drone-stm32-map = { version = "0.14.0", features = [...] }

Add or extend std feature as follows:

[features]
std = ["drone-stm32-map/std"]

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.

GitHub Stars

14

LAST COMMIT

1yr ago

MAINTAINERS

1

CONTRIBUTORS

5

OPEN ISSUES

1

OPEN PRs

4
VersionTagPublished
0.13.0
2yrs ago
0.12.3
2yrs ago
0.12.1
2yrs ago
0.12.0
2yrs ago
No alternatives found
No tutorials found
Add a tutorial