Cargo Features
[dependencies]
lpc55-hal = { version = "0.4.0", default-features = false, features = ["littlefs", "rt", "rtic-peripherals", "highspeed-usb-example"] }
- default = rt
-
The
rt
feature is set by default wheneverlpc55-hal
is added without
somewhere in the dependency tree.default-features = false - littlefs = littlefs2
-
Affects
flash::littlefs_params
… - rt default
-
Enables rt of lpc55-pac ^0.4
- rtic-peripherals = lpc55-rtic
-
Affects
lpc55-hal::from
… - highspeed-usb-example
-
no longer a HAL feature, just for the usb examples
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.