Cargo Features
[dependencies]
feather_m4 = { version = "0.13.1", default-features = false, features = ["rt", "usb", "dma", "max-channels"] }
- default = rt
-
ask the HAL to enable atsamd51j support
Enables samd51j of atsamd-hal
- rt default = cortex-m-rt
-
Enables samd51j-rt of atsamd-hal
- usb = usb-device
-
Enables usb of atsamd-hal
Affects
feather_m4::usb_allocator
… - dma max-channels?
-
Enables dma of atsamd-hal
- max-channels = dma
-
Enables dma of atsamd-hal
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.