-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Hello everyone!
In src/adc.rs
analog input pins are enabled based on feature macros like the following:
#[cfg(all(
feature = "stm32l072",
any(
feature = "lqfp64",
feature = "lqfp100",
feature = "tfbga64",
feature = "ufbga64",
feature = "ufbga100",
feature = "wlcsp49",
),
))]
adc_pins! {
Channel10: (gpioc::PC0<Analog>, 10u8),
Channel11: (gpioc::PC1<Analog>, 11u8),
Channel12: (gpioc::PC2<Analog>, 12u8),
}
However the "stm32l072" feature is not defined in Cargo.toml
and appears to have been replaced:
# Legacy features (don't use those anymore)
# ...
stm32l072 = ["stm32l0x2"]
#...
# Later for example ...
mcu-STM32L072V8Tx = ["stm32l0x2", "lqfp100", "io-STM32L071", "eeprom-3072", "flash-64", "ram-20"]
m
# ...
Should I update adc.rs
to use the new macros? Thanks.
Metadata
Metadata
Assignees
Labels
No labels