Cargo Features
[dependencies]
cotton-usb-host = { version = "0.1.0", default-features = false, features = ["std", "rp2040", "defmt"] }
- default = std
-
The
std
feature is set by default whenevercotton-usb-host
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables mockall and std of critical-section and futures
critical-section:
Enable a critical-section implementation for platforms supporting
std
, based onstd::sync::Mutex
. If you enable this, thecritical-section
crate itself provides the implementation, you don't have to get another crate to to do it.Affects
cotton-usb-host::mocks
… - rp2040 = defmt
-
Enables cortex-m, rp2040-pac, and rtic-common
rtic-common:
For WakerRegistration
Affects
host::rp2040
… - defmt rp2040?
-
Enables defmt