Cargo Features

atsam4ls2c-pac has no features set by default.

[dependencies]
atsam4ls2c-pac = { version = "0.3.2", features = ["rt", "critical-section"] }
rt

Enables device of cortex-m-rt

critical-section

Enables critical-section

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?