Cargo Features

[dependencies]
hpm-metapac = { version = "0.0.5", default-features = false, features = ["pac", "metadata", "memory-x", "hpm5301", "hpm6240", "hpm6320", "hpm6364", "hpm64a0", "hpm6830", "hpm6e70", "hpm6e80"] }
default = pac

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

pac default

Build the actual PAC. Set by default. If you just want the metadata, unset it with default-features = false.

metadata

Build the chip metadata. If set, a const hpm_metapac::METADATA will be exported, containing all the metadata for the currently selected chip.

Affects hpm-metapac::metadata

rt memory-x
hpm5301

Chip-selection features

hpm5321 hpm5331 hpm5361 hpm6220 hpm6240
hpm6260 hpm6264 hpm6280 hpm6284 hpm6320
hpm6330 hpm6340 hpm6350 hpm6360 hpm6364
hpm6420 hpm6430 hpm6450 hpm6454 hpm64a0
hpm64g0 hpm6730 hpm6750 hpm6754 hpm6830
hpm6850 hpm6880 hpm6e50 hpm6e60 hpm6e70
hpm6e80