From c395a24c21317335ad26d8d2ab04fa8d91417439 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 22 Jul 2025 11:53:39 +0200 Subject: [PATCH] this might work --- Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4121c1a..e271a98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,13 +29,18 @@ fugit = "0.3" defmt = { version = "1", optional = true } va108xx = { version = "0.5", default-features = false, optional = true } va416xx = { version = "0.4", default-features = false, optional = true } -portable-atomic = "1" - embassy-sync = "0.6" embassy-time-driver = "0.2" embassy-time-queue-utils = "0.1" once_cell = { version = "1", default-features = false, features = ["critical-section"] } +[target.thumbv6m-none-eabi.dependencies] +portable-atomic = { version = "1", features = ["unsafe-assume-single-core"] } +[target.thumbv7em-none-eabihf.dependencies] +portable-atomic = "1" +[target.'cfg(not(any(target_arch = "arm", target_os = "none")))'.dependencies] +portable-atomic = "1" + [features] vor1x = ["_family-selected", "dep:va108xx", "portable-atomic/unsafe-assume-single-core"] vor4x = ["_family-selected", "dep:va416xx"] -- 2.43.0