Cargo Features
[dependencies]
stm32g0xx-hal = { version = "0.2.0", default-features = false, features = ["device-selected", "rt", "stm32g030", "stm32g070", "stm32g031", "stm32g041", "stm32g071", "stm32g081", "stm32g0x0", "stm32g0x1", "i2c-blocking", "i2c-nonblocking"] }
- default = i2c-blocking
-
The
i2c-blocking
feature is set by default wheneverstm32g0xx-hal
is added without
somewhere in the dependency tree.default-features = false - device-selected stm32g030? stm32g031? stm32g041? stm32g070? stm32g071? stm32g081?
- rt
-
Enables stm32g0 ^0.14.0
- stm32g030 = device-selected, stm32g0x0
-
Enables stm32g030 of stm32g0 ^0.14.0
- stm32g070 = device-selected, stm32g0x0
-
Enables stm32g070 of stm32g0 ^0.14.0
- stm32g031 = device-selected, stm32g0x1
-
Enables stm32g031 of stm32g0 ^0.14.0
- stm32g041 = device-selected, stm32g0x1
-
Enables stm32g041 of stm32g0 ^0.14.0
Affects
stm32g0xx-hal::rng
… - stm32g071 = device-selected, stm32g0x1
-
Enables stm32g071 of stm32g0 ^0.14.0
Affects
analog::comparator
,analog::dac
… - stm32g081 = device-selected, stm32g0x1
-
Enables stm32g081 of stm32g0 ^0.14.0
Affects
analog::comparator
,analog::dac
,stm32g0xx-hal::rng
… - stm32g0x0 stm32g030? stm32g070?
- stm32g0x1 stm32g031? stm32g041? stm32g071? stm32g081?
- i2c-blocking default
-
Affects
i2c::blocking
,i2c::I2c
… - i2c-nonblocking
-
Affects
i2c::nonblocking
,i2c::I2c
…