Cargo Features

[dependencies]
py32-metapac = { version = "0.0.1", default-features = false, features = ["pac", "metadata", "rt", "memory-x", "py32f002a", "py32f003f17", "py32f003f36", "py32f003f68", "py32f003l24", "py32f003w16", "py32f030e26", "py32f030f18", "py32f030f28", "py32f030f46", "py32f030k17", "py32f030k26", "py32f030k38", "py32f030l14", "py32f031h18", "py32f040c18", "py32f040k2b", "py32f071k18", "py32f072c1b", "py32f403c1b", "py32f403c2d", "py32f403r1c", "py32f403v1d", "py32m010a15", "py32m030e18", "py32m070k1b", "py32md410k18", "py32t020w16"] }
default = pac

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

Affects py32-metapac::metadata

rt

Enables device of cortex-m-rt

Affects pac::NVIC_PRIO_BITS, pac::NVIC_PRIO_BITS, pac::NVIC_PRIO_BITS, pac::NVIC_PRIO_BITS, pac::NVIC_PRIO_BITS, pac::NVIC_PRIO_BITS

memory-x
py32f002a

Chip-selection features

py32f002b py32f003f14 py32f003f16 py32f003f17
py32f003f18 py32f003f26 py32f003f36
py32f003f48 py32f003f56 py32f003f68
py32f003l16 py32f003l18 py32f003l24
py32f003l26 py32f003l28 py32f003w16
py32f003w18 py32f030e18 py32f030e26
py32f030f16 py32f030f17 py32f030f18
py32f030f26 py32f030f27 py32f030f28
py32f030f36 py32f030f38 py32f030f46
py32f030k14 py32f030k16 py32f030k17
py32f030k18 py32f030k24 py32f030k26
py32f030k27 py32f030k28 py32f030k38
py32f030k46 py32f030k48 py32f030l14
py32f030l16 py32f031c18 py32f031h18
py32f031k18 py32f040c16 py32f040c18
py32f040c1b py32f040k1b py32f040k2b
py32f040r1b py32f071c1b py32f071k18
py32f071k1b py32f071r1b py32f072c1b
py32f072k1b py32f072r1b py32f403c1b
py32f403c1c py32f403c1d py32f403c2d
py32f403k1b py32f403k1c py32f403r1c
py32f403r1d py32f403r2d py32f403v1d
py32l020f15 py32l020l15 py32m010a15
py32m010a25 py32m020f16 py32m030e18
py32m031e18 py32m070e1b py32m070k1b
py32md310k18 py32md320k18 py32md410k18
py32md420k18 py32t020g16 py32t020w16

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.

cortex-m-rt rt?