Cargo Features

[dependencies]
ch32-metapac = { version = "0.0.6", default-features = false, features = ["pac", "metadata", "memory-x", "ch32v002x4x6", "ch32v003f4u6", "ch32v004x6x1", "ch32v007x8x6", "ch32v103c8u6", "ch32v203c8t6", "ch32v203f8p6", "ch32v203g8r6", "ch32v203rbt6", "ch32v208rbt6", "ch32v303rbt6", "ch32v305fbp6", "ch32v307rct6", "ch32x033f8p6", "ch32x035c8t6", "ch32x035g8r6", "ch643"] }
default = pac

The pac feature is set by default whenever ch32-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 ch32_metapac::METADATA will be exported, containing all the metadata for the currently selected chip.

Affects ch32-metapac::metadata

rt memory-x
ch32v002x4x6

Chip-selection features

ch32v003a4m6 ch32v003f4p6 ch32v003f4u6
ch32v003j4m6 ch32v003x4x6 ch32v004x6x1
ch32v005x6x6 ch32v006x8x6 ch32v007x8x6
ch32v103c6t6 ch32v103c8t6 ch32v103c8u6
ch32v103r8t6 ch32v203c6t6 ch32v203c8t6
ch32v203c8u6 ch32v203f6p6 ch32v203f8p6
ch32v203f8u6 ch32v203g6u6 ch32v203g8r6
ch32v203k6t6 ch32v203k8t6 ch32v203rbt6
ch32v208cbu6 ch32v208gbu6 ch32v208rbt6
ch32v208wbu6 ch32v303cbt6 ch32v303rbt6
ch32v303rct6 ch32v303vct6 ch32v305fbp6
ch32v305gbu6 ch32v305rbt6 ch32v307rct6
ch32v307vct6 ch32v307wcu6 ch32x033f8p6
ch32x034f8p6 ch32x034f8u6 ch32x035c8t6
ch32x035f7p6 ch32x035f8u6 ch32x035g8r6
ch32x035g8u6 ch32x035r8t6 ch641 ch643