Cargo Features

[dependencies]
metro_m0 = { version = "0.15.1", default-features = false, features = ["dma", "max-channels", "rt", "rtic", "use_rtt", "usb", "use_semihosting"] }
default = rt

ask the HAL to enable atsamd21g support

Enables samd21g of atsamd-hal

dma max-channels?

Enables dma of atsamd-hal

max-channels = dma

Enables max-channels of atsamd-hal

rt default = cortex-m-rt

Enables samd21g-rt of atsamd-hal

rtic

Enables rtic of atsamd-hal

use_rtt

Enables use_rtt of atsamd-hal

usb = usb-device

Enables usb of atsamd-hal

Affects metro_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?