aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rtic-macros/src/lib.rs')
-rw-r--r--rtic-macros/src/lib.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/rtic-macros/src/lib.rs b/rtic-macros/src/lib.rs
index de67e3d..38eed8f 100644
--- a/rtic-macros/src/lib.rs
+++ b/rtic-macros/src/lib.rs
@@ -13,7 +13,8 @@ macro_rules! with_backend {
#[cfg(any(
feature = "cortex-m-source-masking",
feature = "cortex-m-basepri",
- feature = "test-template"
+ feature = "test-template",
+ feature = "riscv-esp32c3"
))]
$($tokens)*
};
@@ -107,6 +108,7 @@ with_backend! {
#[cfg(not(any(
feature = "cortex-m-source-masking",
feature = "cortex-m-basepri",
- feature = "test-template"
+ feature = "test-template",
+ feature = "riscv-esp32c3"
)))]
compile_error!("Cannot compile. No backend feature selected.");