added exclusion for adc v4 as well
This commit is contained in:
parent
8a9622ec2e
commit
c312884692
2 changed files with 2 additions and 0 deletions
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -41,4 +41,5 @@
|
||||||
// "examples/stm32wl/Cargo.toml",
|
// "examples/stm32wl/Cargo.toml",
|
||||||
// "examples/wasm/Cargo.toml",
|
// "examples/wasm/Cargo.toml",
|
||||||
],
|
],
|
||||||
|
"rust-analyzer.showUnlinkedFileNotification": false,
|
||||||
}
|
}
|
|
@ -313,6 +313,7 @@ fn main() {
|
||||||
if !singletons.contains(&p.name.to_string())
|
if !singletons.contains(&p.name.to_string())
|
||||||
|| (p.name == "ADC3" && METADATA.line.starts_with("STM32H7"))
|
|| (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 == "f3"))
|
||||||
|
|| (p.name.starts_with("ADC") && p.registers.as_ref().map_or(false, |r| r.version == "v4"))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue