Cargo Features
nrf-pac has no features set by default.
[dependencies]
nrf-pac = { version = "0.1.0", features = ["rt", "defmt", "nrf52820", "nrf5340-app", "nrf9120", "nrf9160"] }
- rt
-
Enables device of cortex-m-rt
Affects
pac::NVIC_PRIO_BITS
,pac::NVIC_PRIO_BITS
,pac::NVIC_PRIO_BITS
,pac::NVIC_PRIO_BITS
,pac::NVIC_PRIO_BITS
,pac::NVIC_PRIO_BITS
… - defmt
-
Enables defmt
- nrf51 nrf52805 nrf52810 nrf52811 nrf52820
- nrf52832 nrf52833 nrf52840 nrf5340-app
- nrf5340-net nrf54l15-app nrf54l15-flpr nrf9120
- nrf9160
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.