stm32: include uart-named peripherals
This commit is contained in:
parent
394503ab69
commit
6dc56d2b35
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ fn main() {
|
|||
// ========
|
||||
// Generate RccPeripheral impls
|
||||
|
||||
let refcounted_peripherals = HashSet::from(["USART", "SPI", "I2C"]);
|
||||
// TODO: maybe get this from peripheral kind? Not sure
|
||||
let refcounted_peripherals = HashSet::from(["UART", "USART", "SPI", "I2C"]);
|
||||
let mut refcount_statics = HashSet::new();
|
||||
|
||||
for p in METADATA.peripherals {
|
||||
|
|
Loading…
Reference in a new issue