Adjust for STM32U5.

This commit is contained in:
Bob McWhirter
2021-11-02 12:03:56 -04:00
parent 3dcf899bab
commit f12b70535b
11 changed files with 85 additions and 15 deletions

View File

@ -150,6 +150,9 @@ macro_rules! peripheral_count {{
}
fn make_dma_channel_counts(out: &mut String, data: &BTreeMap<String, u8>) {
if data.len() == 0 {
return;
}
write!(
out,
"#[macro_export]