Cargo Features

GD32E2 has no features set by default.

[dependencies]
gd32e2 = { version = "0.9.1", features = ["rt", "gd32e230", "gd32e231", "critical-section"] }
rt

Enables device of cortex-m-rt

gd32e230

Affects gd32e2::gd32e230

gd32e231

Affects gd32e2::gd32e231

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.

critical-section implicit feature

Enables critical-section

critical-section:

Cross-platform critical section

cortex-m-rt rt?