#nordic-semiconductor #nordic-semi #bindings #drone #svd #nrfx #peripheral

build drone-nrf-map-svd

Nordic Semi nRFx SVD to bindings for Drone, an Embedded Operating System

4 releases (breaking)

0.14.0 Apr 9, 2021
0.13.0 Dec 23, 2020
0.12.0 May 1, 2020
0.11.0 Nov 6, 2019

#262 in Operating systems

Download history 36/week @ 2023-12-17 35/week @ 2023-12-24 8/week @ 2023-12-31 25/week @ 2024-01-07 32/week @ 2024-01-14 13/week @ 2024-01-21 7/week @ 2024-01-28 50/week @ 2024-02-04 40/week @ 2024-02-11 40/week @ 2024-02-18 53/week @ 2024-02-25 41/week @ 2024-03-03 64/week @ 2024-03-10 63/week @ 2024-03-17 72/week @ 2024-03-24 145/week @ 2024-03-31

346 downloads per month
Used in 16 crates (13 directly)

MIT/Apache

335KB
72 lines

crates.io maintenance

drone-nrf-map

Nordic Semi nRFx peripheral mappings for Drone, an Embedded Operating System.

This crate uses CMSIS-SVD files provided by Nordic Semiconductor to automatically generate Drone register and interrupt bindings. However only the corresponding Product Specification is the single source of truth. A difference between this crate bindings and the Product Specification 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

nrf_mcu Core name Product specification Available features
nrf52810 ARM® Cortex®-M4F r0p1 PS v1.3
nrf52811 ARM® Cortex®-M4F r0p1 PS v1.0
nrf52832 ARM® Cortex®-M4F r0p1 PS v1.4
nrf52840 ARM® Cortex®-M4F r0p1 PS v1.1
nrf9160 ARM® Cortex®-M33F r0p2 PS v1.1 uarte

nrf_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 Product Specification 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-nrf-map = { version = "0.14.0", features = [...] }

Add or extend std feature as follows:

[features]
std = ["drone-nrf-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.


lib.rs:

Nordic Semi nRFx SVD to bindings for Drone, an Embedded Operating System.

Dependencies

~1.8–2.6MB
~51K SLoC