Cargo Features
[dependencies]
trinket_m0 = { version = "0.11.1", default-features = false, features = ["rt", "unproven", "usb", "use_semihosting"] }
- default = rt
-
ask the HAL to enable atsamd21e support
Enables samd21e of atsamd-hal ^0.14
- rt default = cortex-m-rt
-
Enables samd21e-rt of atsamd-hal ^0.14
- unproven
-
Enables unproven of atsamd-hal ^0.14
- usb = usb-device
-
Enables usb of atsamd-hal ^0.14
Affects
trinket_m0::usb_allocator
… - 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.
- cortex-m-rt rt
- usb-device usb?
-
Enables usb-device ^0.2