aboutsummaryrefslogtreecommitdiff
path: root/embassy-macros/src/macros/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* executor: rename macro crate to embassy-executor-macros, bump it.Dario Nieuwenhuis2023-12-071-138/+0
|
* Upgrade static-cell to v2.0Dario Nieuwenhuis2023-11-021-2/+1
|
* Update darlingDániel Buga2023-06-251-4/+5
|
* Allow for an optional user-defined entry macro when targeting RISC-VJesse Braham2023-05-161-4/+18
|
* macros/main: copy fn return to task.Dario Nieuwenhuis2023-03-081-1/+2
| | | | | | | | | | This prevents this bad code from compiling. ```rust async fn main(_spawner: Spawner) -> ! { // not really noreturn! } ```
* macros: better validation of function signatures.Dario Nieuwenhuis2023-03-081-0/+21
| | | | Fixes #1266
* refactor: autodetect macro variantUlf Lilleengen2022-11-231-47/+51
| | | | | Export all main macro per target architecture from embassy-macros, and select the appropriate macro in embassy-executor.
* riscv supportSijmen Woutersen2022-11-101-2/+13
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-221-2/+2
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-4/+4
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-49/+13
|
* macros: remove embassy_prefix attr.Dario Nieuwenhuis2022-08-171-33/+24
| | | | | | | This was used in the past for reexporting the macros from drogue-device, which is no longer using it. Also, it is a pain to support, so we don't want it.
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-2/+2
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-8/+5
|
* Require 1 argument in embassy::main without HALJustin Beaurivage2022-04-291-1/+1
|
* macros: cleanup, make work in stable.Dario Nieuwenhuis2022-02-121-0/+135