added exclusion for adc v4 as well

This commit is contained in:
Don Reilly 2023-08-10 08:21:03 -05:00
parent 8a9622ec2e
commit c312884692
2 changed files with 2 additions and 0 deletions

View file

@ -41,4 +41,5 @@
// "examples/stm32wl/Cargo.toml",
// "examples/wasm/Cargo.toml",
],
"rust-analyzer.showUnlinkedFileNotification": false,
}

View file

@ -313,6 +313,7 @@ fn main() {
if !singletons.contains(&p.name.to_string())
|| (p.name == "ADC3" && METADATA.line.starts_with("STM32H7"))
|| (p.name.starts_with("ADC") && p.registers.as_ref().map_or(false, |r| r.version == "f3"))
|| (p.name.starts_with("ADC") && p.registers.as_ref().map_or(false, |r| r.version == "v4"))
{
continue;
}