From c3128846923718d94921617776008c1eadcd4fec Mon Sep 17 00:00:00 2001 From: Don Reilly Date: Thu, 10 Aug 2023 08:21:03 -0500 Subject: [PATCH] added exclusion for adc v4 as well --- .vscode/settings.json | 1 + embassy-stm32/build.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 29e8812e..139b432f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -41,4 +41,5 @@ // "examples/stm32wl/Cargo.toml", // "examples/wasm/Cargo.toml", ], + "rust-analyzer.showUnlinkedFileNotification": false, } \ No newline at end of file diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index 743631b8..8a731620 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs @@ -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; }