Cargo Features

[dependencies]
atsame54_xpro = { version = "0.10.1", default-features = false, features = ["dma", "max-channels", "async", "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 max-channels?

Enables dma of atsamd-hal

max-channels = dma

Enables max-channels of atsamd-hal

async

Enable async support from atsamd-hal

Enables async 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?