aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot-stm32
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-05-31 21:41:42 +0200
committerDario Nieuwenhuis <[email protected]>2024-05-31 21:54:42 +0200
commit999a2ad829d05b2a34797cf43d625d09bd796a58 (patch)
treef6e5a6bb0f9990d79ac46a82981654947b2eec36 /embassy-boot-stm32
parentba940017ee8cabbb2a371243adc040b3460cd71c (diff)
Fix all check-cfg errors in the entire repo.
the main ci.sh now passes if running with nightly.
Diffstat (limited to 'embassy-boot-stm32')
-rw-r--r--embassy-boot-stm32/Cargo.toml2
-rw-r--r--embassy-boot-stm32/build.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/embassy-boot-stm32/Cargo.toml b/embassy-boot-stm32/Cargo.toml
index a3661f6cb..d4525a6de 100644
--- a/embassy-boot-stm32/Cargo.toml
+++ b/embassy-boot-stm32/Cargo.toml
@@ -22,7 +22,6 @@ target = "thumbv7em-none-eabi"
22 22
23[dependencies] 23[dependencies]
24defmt = { version = "0.3", optional = true } 24defmt = { version = "0.3", optional = true }
25defmt-rtt = { version = "0.4", optional = true }
26log = { version = "0.4", optional = true } 25log = { version = "0.4", optional = true }
27 26
28embassy-sync = { version = "0.6.0", path = "../embassy-sync" } 27embassy-sync = { version = "0.6.0", path = "../embassy-sync" }
@@ -37,7 +36,6 @@ cfg-if = "1.0.0"
37[features] 36[features]
38defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-stm32/defmt"] 37defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-stm32/defmt"]
39log = ["dep:log", "embassy-boot/log", "embassy-stm32/log"] 38log = ["dep:log", "embassy-boot/log", "embassy-stm32/log"]
40debug = ["defmt-rtt"]
41 39
42[profile.dev] 40[profile.dev]
43debug = 2 41debug = 2
diff --git a/embassy-boot-stm32/build.rs b/embassy-boot-stm32/build.rs
index 2cbc7ef5e..bfaee3503 100644
--- a/embassy-boot-stm32/build.rs
+++ b/embassy-boot-stm32/build.rs
@@ -5,4 +5,5 @@ fn main() {
5 if target.starts_with("thumbv6m-") { 5 if target.starts_with("thumbv6m-") {
6 println!("cargo:rustc-cfg=armv6m"); 6 println!("cargo:rustc-cfg=armv6m");
7 } 7 }
8 println!("cargo:rustc-check-cfg=cfg(armv6m)");
8} 9}