Cargo Features

[dependencies]
jh71xx-pac = { version = "0.9.0", default-features = false, features = ["all", "critical-section", "rt", "rts"] }
default = critical-section

The critical-section feature is set by default whenever jh71xx-pac is added without default-features = false somewhere in the dependency tree.

all = critical-section, rts
critical-section default all?

Enables critical-section

rt rts? = riscv-rt
rts all? = rt

Enables s-mode of riscv-rt ^0.12

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.

riscv-rt rt? rts?

Enables riscv-rt ^0.12