executor: add support for main/task macros in stable (allocates tasks in an arena)

This commit is contained in:
Dario Nieuwenhuis
2023-11-24 21:37:27 +01:00
parent 1fbc150fd6
commit 171cdb94c7
10 changed files with 105 additions and 10 deletions

View File

@ -7,7 +7,6 @@ pub use thread::*;
mod thread {
use core::marker::PhantomData;
#[cfg(feature = "nightly")]
pub use embassy_macros::main_riscv as main;
use portable_atomic::{AtomicBool, Ordering};