Cargo Features
[dependencies]
bind-hal = { version = "0.3.3", default-features = false, features = ["embassy", "time", "defmt", "auto_memory_x", "recompile", "py32f030", "ram_rom_py32xxx6", "ram_rom_py32xxx8", "ram_rom_py32f002ax5", "csdk-hal", "peri-gpiof", "peri-i2c", "peri-i2c0", "peri-i2c2", "peri-dma"] }
- default = auto_memory_x, defmt, embassy, py32f030, ram_rom_py32xxx6, time
-
These default features are set whenever
bind-hal
is added without
somewhere in the dependency tree.default-features = false - embassy default
-
Enables embassy-futures, embassy-sync, and embassy-time-driver
- time default
-
Enables embassy-time
Affects
i2c::Config.timeout
,i2c::I2c.timeout
… - defmt default
-
Enables defmt, defmt of embassy-sync and optional embassy-time
- auto_memory_x default
- recompile
-
Enables recompile of py32csdk-hal-sys
- py32f030 default = csdk-hal, peri-dma, peri-gpioa, peri-gpiob, peri-gpiof, peri-i2c, peri-i2c0
-
Enables py32f030 of py32csdk-hal-sys
Affects
rcc::into_48_mhz_hsi
,rcc::into_32_mhz_hsi
,rcc::into_8_mhz_hsi
,rcc::into_1_mhz_hsi
… - ram_rom_py32xxx6 default
-
Enables py32xxx6 of py32csdk-hal-sys
- ram_rom_py32xxx8
-
Enables py32xxx8 of py32csdk-hal-sys
- ram_rom_py32f002ax5
- csdk-hal py32f030
-
Affects
gpio::csdk_hal
… - peri-gpioa peri-gpiob peri-gpiof py32f030
- peri-i2c py32f030
-
Affects
bind-hal::i2c
… - peri-i2c0 py32f030
-
only one i2c without number
- peri-i2c1 peri-i2c2
- peri-dma py32f030