Cargo Features

GD32F1 has no features set by default.

[dependencies]
gd32f1 = { version = "0.9.1", features = ["rt", "gd32f130", "gd32f150", "gd32f170", "gd32f190", "critical-section"] }
rt

Enables device of cortex-m-rt

gd32f130

Affects gd32f1::gd32f130

gd32f150

Affects gd32f1::gd32f150

gd32f170

Affects gd32f1::gd32f170

gd32f190

Affects gd32f1::gd32f190

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?