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

@ -51,7 +51,6 @@ mod thread {
use core::arch::asm;
use core::marker::PhantomData;
#[cfg(feature = "nightly")]
pub use embassy_macros::main_cortex_m as main;
use crate::{raw, Spawner};