stm32: include uart-named peripherals
This commit is contained in:
parent
394503ab69
commit
6dc56d2b35
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user