embassy/embassy-macros
bors[bot] 2fa2c1a6fe
Merge #1054
1054: riscv fixes r=lulf a=swolix

With these changes I can run embassy on our RISC-V processor, please consider merging this, feedback is very welcome.

I don't fully understand the code in the executor, but I have implemented a critical section by globally disabling interrupts, which means the wfi inside the critical section will hang the whole thing.

Co-authored-by: Sijmen Woutersen <sijmen.woutersen@gmail.com>
2022-11-23 09:24:11 +00:00
..
src Merge #1054 2022-11-23 09:24:11 +00:00
Cargo.toml Merge #1054 2022-11-23 09:24:11 +00:00
README.md doc: add README to embassy-macro 2022-11-22 13:57:41 +01:00

embassy-macros

An Embassy project.

Macros for creating the main entry point and tasks that can be spawned by embassy-executor.

NOTE: The macros are re-exported by the embassy-executor crate which should be used instead of adding a direct dependency on the embassy-macros crate.

Minimum supported Rust version (MSRV)

The task and main macros require the type alias impl trait (TAIT) nightly feature in order to compile.

License

This work is licensed under either of

at your option.