diff options
| author | onsdagens <pawdzi-7@student.ltu.se> | 2023-09-27 21:39:35 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2023-09-27 19:50:13 +0000 |
| commit | 2b2208e217a96086696bd6f36cff2a6cd4c4ac9f (patch) | |
| tree | c17d993fd70954663c0f0ffb6b6afed5228f9714 /rtic-macros/src/lib.rs | |
| parent | 3b8d787a917a7a39b28bea85ba2b3a86539e0852 (diff) | |
esp32c3 support
Diffstat (limited to 'rtic-macros/src/lib.rs')
| -rw-r--r-- | rtic-macros/src/lib.rs | 6 |
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."); |
