Cargo Features

rp2040-pac has no features set by default.

[dependencies]
rp2040-pac = { version = "0.6.0", features = ["rt", "critical-section"] }
rt

Enables device of cortex-m-rt

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.

critical-section implicit feature

Enables critical-section

critical-section:

Cross-platform critical section

cortex-m-rt rt?