Cargo Features

rp-pac has no features set by default.

[dependencies]
rp-pac = { version = "7.0.0", features = ["rt", "rp2040", "rp235x", "defmt"] }
rt

Enables device of cortex-m-rt

Affects rp2040::NVIC_PRIO_BITS, rp235x::NVIC_PRIO_BITS

rp2040
rp235x
defmt

Enables defmt

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.

cortex-m-rt rt?