Cargo Features
GD32F2 has no features set by default.
[dependencies]
gd32f2 = { version = "0.9.1", features = ["rt", "gd32f205", "gd32f207", "critical-section"] }
- rt
-
Enables device of cortex-m-rt
- gd32f205
-
Affects
gd32f2::gd32f205
… - gd32f207
-
Affects
gd32f2::gd32f207
…
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?