Cargo Features

[dependencies]
atsame54_xpro = { version = "0.9.0", default-features = false, features = ["dma", "rt", "usb", "can"] }
default = rt

These default features are set whenever atsame54_xpro is added without default-features = false somewhere in the dependency tree.

Enables same54p of atsamd-hal

dma

Enables dma of atsamd-hal

rt default = cortex-m-rt

Enables same54p-rt of atsamd-hal

usb = usb-device

Enables usb of atsamd-hal

Affects devices::usb_allocator

can

Enables can of atsamd-hal

atsamd-hal:

-------------------------------------------------------------------------------
User-selectable features
-------------------------------------------------------------------------------

These features are user-selectable and enable additional features within the HAL, like USB or DMA support.

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?