Cargo Features
[dependencies]
efm32gg-hal = { version = "0.3.0", default-features = false, features = ["unproven", "chip-efm32gg", "chip-efr32xg1"] }
- default = unproven
-
The
unproven
feature is set by default wheneverefm32gg-hal
is added without
somewhere in the dependency tree.default-features = false - unproven default
- chip-efm32gg = _has_timer2, efm32gg990
- chip-efr32xg1 = efr32xg1
-
Affects
efm32gg-hal::i2c
… - _has_timer2 chip-efm32gg?
-
Marker features pulled in by the individual chip features. Enabling them manually results in build-time errors (as clocks or peripherals are accessed that are not available).
Affects
cmu::Clocks.timer2
…
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.
- efm32gg990 chip-efm32gg?
-
Enables efm32gg990
for efm32gg, it's probably convenient to depend on the biggest available svd2rust-generated crate (the chips will let us; FWICT all EFM32GG are the same and just have fewer pins wired); crates like efr32xg1 are already as generic as they can be with svd2rust. having bobbin will hopefully make this even smoother.
- efr32xg1 chip-efr32xg1?