aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/lib.rs
diff options
context:
space:
mode:
authorsodo <[email protected]>2023-12-10 01:45:24 +0900
committersodo <[email protected]>2023-12-10 01:45:24 +0900
commit58d503a77da73204f097fae1f1a2a1ce2cf90600 (patch)
treec7739f0342e2e0d243cf9bb652c2246b2499cb23 /embassy-executor/src/lib.rs
parent83138ce68e506692aabd825eae39016ddb8fd2c4 (diff)
add avr support
Diffstat (limited to 'embassy-executor/src/lib.rs')
-rw-r--r--embassy-executor/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs
index 4c6900a6d..834ebf16a 100644
--- a/embassy-executor/src/lib.rs
+++ b/embassy-executor/src/lib.rs
@@ -20,9 +20,10 @@ macro_rules! check_at_most_one {
20 check_at_most_one!(@amo [$($f)*] [$($f)*] []); 20 check_at_most_one!(@amo [$($f)*] [$($f)*] []);
21 }; 21 };
22} 22}
23check_at_most_one!("arch-cortex-m", "arch-riscv32", "arch-std", "arch-wasm",); 23check_at_most_one!("arch-avr", "arch-cortex-m", "arch-riscv32", "arch-std", "arch-wasm",);
24 24
25#[cfg(feature = "_arch")] 25#[cfg(feature = "_arch")]
26#[cfg_attr(feature = "arch-avr", path = "arch/avr.rs")]
26#[cfg_attr(feature = "arch-cortex-m", path = "arch/cortex_m.rs")] 27#[cfg_attr(feature = "arch-cortex-m", path = "arch/cortex_m.rs")]
27#[cfg_attr(feature = "arch-riscv32", path = "arch/riscv32.rs")] 28#[cfg_attr(feature = "arch-riscv32", path = "arch/riscv32.rs")]
28#[cfg_attr(feature = "arch-std", path = "arch/std.rs")] 29#[cfg_attr(feature = "arch-std", path = "arch/std.rs")]