Cargo Features
ambiq-hal has no features set by default.
[dependencies]
ambiq-hal = { version = "0.3.3", features = ["ambiq-sdk", "sparkfun-redboard", "sparkfun-redboard-nano", "rt"] }
- ambiq-sdk = ambiq-hal-sys
-
Affects
delay::flash
,ambiq-hal::uart
,ambiq-hal::iom
… - sparkfun-redboard
-
Enables sparkfun-redboard of ambiq-hal-sys
- sparkfun-redboard-nano
-
Enables sparkfun-redboard-nano of ambiq-hal-sys
- rt = cortex-m-rt
-
Enables rt of ambiq-apollo3-pac2
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.