add embassy::main and implement for stm32f4

This commit is contained in:
xoviat
2021-03-27 17:27:39 -05:00
parent 19b959b0f8
commit 6ee9e012fc
9 changed files with 343 additions and 39 deletions

View File

@ -1,4 +1,4 @@
pub use embassy_macros::task;
pub use embassy_macros::{main, task};
use core::marker::PhantomData;
use core::ptr::NonNull;

View File

@ -18,6 +18,7 @@ pub mod time;
pub mod util;
pub use embassy_traits as traits;
pub use executor::{main, task};
#[doc(hidden)]
/// Implementation details for embassy macros. DO NOT USE.