Cargo Features
[dependencies]
metro_m4 = { version = "0.12.0", default-features = false, features = ["rt", "unproven", "usb"] }
- default = rt
-
ask the HAL to enable atsamd51j support
Enables samd51 and samd51j of atsamd-hal
- rt default = cortex-m-rt
-
Enables samd51j-rt of atsamd-hal
- unproven
-
Enables unproven of atsamd-hal
- usb = usb-device
-
Enables usb of atsamd-hal
Affects
metro_m4::usb_allocator
…
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.
- cortex-m-rt rt
- usb-device usb?
-
Enables usb-device ^0.2