stm32: include uart-named peripherals

This commit is contained in:
xoviat 2023-09-04 16:04:29 -05:00
parent 394503ab69
commit 6dc56d2b35

View File

@ -308,7 +308,8 @@ fn main() {
// ======== // ========
// Generate RccPeripheral impls // 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(); let mut refcount_statics = HashSet::new();
for p in METADATA.peripherals { for p in METADATA.peripherals {