Cargo Features

rp-hal has no features set by default.

[dependencies]
rp-hal = { version = "0.0.2", features = ["2040"] }
2040 = rp2040

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.

rp2040 2040?