From 2b2208e217a96086696bd6f36cff2a6cd4c4ac9f Mon Sep 17 00:00:00 2001 From: onsdagens Date: Wed, 27 Sep 2023 21:39:35 +0200 Subject: esp32c3 support --- rtic-macros/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rtic-macros/src/lib.rs') 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."); -- cgit v1.2.3