Cargo Features
[dependencies]
samd11_bare = { version = "0.11.1", default-features = false, features = ["dma", "max-channels", "rt", "use_semihosting"] }
- default = rt
-
ask the HAL to enable atsamd11c support
Enables samd11c of atsamd-hal
- dma max-channels?
-
Enables dma of atsamd-hal
- max-channels = dma
-
Enables max-channels of atsamd-hal
- rt default = cortex-m-rt
-
Enables samd11c-rt of atsamd-hal
atsamd-hal:
RT features
Instead of selecting a variant feature above, users can optionally select an
-rt
feature, which enables thert
feature of the corresponding PAC. - use_semihosting
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.