esp32c3 support

This commit is contained in:
onsdagens 2023-09-27 21:39:35 +02:00 committed by Emil Fresk
parent 3b8d787a91
commit 2b2208e217
27 changed files with 525 additions and 60 deletions

View file

@ -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.");