| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | executor: rename macro crate to embassy-executor-macros, bump it. | Dario Nieuwenhuis | 2023-12-07 | 8 | -548/+0 |
| | | |||||
| * | executor: add support for main/task macros in stable (allocates tasks in an ↵ | Dario Nieuwenhuis | 2023-11-24 | 2 | -1/+11 |
| | | | | | arena) | ||||
| * | executor: Remove non-functional rtos-trace-interrupt. | Dario Nieuwenhuis | 2023-11-24 | 1 | -3/+1 |
| | | |||||
| * | Upgrade static-cell to v2.0 | Dario Nieuwenhuis | 2023-11-02 | 1 | -2/+1 |
| | | |||||
| * | Prepare executor and macros for release (#1825) | Dániel Buga | 2023-08-25 | 1 | -1/+1 |
| | | | | | | * Set release date, bump macros version * Add pool_size change to changelog | ||||
| * | Allow arbitrary expressions as pool_size | Dániel Buga | 2023-06-25 | 1 | -9/+9 |
| | | |||||
| * | Update darling | Dániel Buga | 2023-06-25 | 4 | -18/+37 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 4 | -102/+0 |
| | | | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`. | ||||
| * | cortex-m: remove owned interrupts. | Dario Nieuwenhuis | 2023-06-01 | 4 | -86/+4 |
| | | |||||
| * | Allow for an optional user-defined entry macro when targeting RISC-V | Jesse Braham | 2023-05-16 | 2 | -5/+31 |
| | | |||||
| * | Bump versions preparing for -macros and -executor release | Ulf Lilleengen | 2023-04-27 | 1 | -1/+1 |
| | | |||||
| * | executor: unify export mod. | Dario Nieuwenhuis | 2023-04-03 | 1 | -2/+2 |
| | | |||||
| * | macros/main: copy fn return to task. | Dario Nieuwenhuis | 2023-03-08 | 1 | -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 Nieuwenhuis | 2023-03-08 | 2 | -1/+43 |
| | | | | | Fixes #1266 | ||||
| * | cortex-m: rename Handler to DynHandler. | Dario Nieuwenhuis | 2023-03-06 | 2 | -3/+3 |
| | | | | | I want to use the name Handler for the new interrupt binding macro. | ||||
| * | nrf: docs. | Dario Nieuwenhuis | 2023-02-01 | 1 | -0/+3 |
| | | |||||
| * | Hide doc comments from inner function include doc comments on outer function | Brendon Fallquist | 2022-12-24 | 1 | -5/+13 |
| | | |||||
| * | refactor: autodetect macro variant | Ulf Lilleengen | 2022-11-23 | 3 | -54/+129 |
| | | | | | | Export all main macro per target architecture from embassy-macros, and select the appropriate macro in embassy-executor. | ||||
| * | Merge #1054 | bors[bot] | 2022-11-23 | 2 | -2/+14 |
| |\ | | | | | | | | | | | | | | | | | | | 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 <[email protected]> | ||||
| | * | riscv support | Sijmen Woutersen | 2022-11-10 | 2 | -2/+14 |
| | | | |||||
| * | | doc: update cargo manifests with keywords | Ulf Lilleengen | 2022-11-22 | 1 | -0/+7 |
| | | | |||||
| * | | doc: add README to embassy-macro | Ulf Lilleengen | 2022-11-22 | 2 | -0/+70 |
| |/ | | | | Documents the main and task macros. | ||||
| * | all Cargo.toml: Add license to all crate Cargo.toml files | chrysn | 2022-10-07 | 1 | -0/+1 |
| | | | | | Closes: https://github.com/embassy-rs/embassy/issues/1002 | ||||
| * | Ensure interrupt::take works without embassy-executor | Ulf Lilleengen | 2022-08-25 | 2 | -6/+24 |
| | | | | | | | Add "rtos-trace-interrupt" feature flag on embassy-macros and enable it for embassy-executor, to ensure that the interrupt::take! macro can be used without depending on embassy-executor. | ||||
| * | Remove Forever, switch to static_cell. | Dario Nieuwenhuis | 2022-08-22 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'master' of https://github.com/embassy-rs/embassy into rtos-trace | Quentin Smith | 2022-08-19 | 6 | -120/+24 |
| |\ | |||||
| | * | Split embassy-time from embassy-executor. | Dario Nieuwenhuis | 2022-08-18 | 2 | -6/+6 |
| | | | |||||
| | * | Remove HAL initialization from #[embassy::main] macro. | Dario Nieuwenhuis | 2022-08-17 | 2 | -52/+13 |
| | | | |||||
| | * | macros: remove embassy_prefix attr. | Dario Nieuwenhuis | 2022-08-17 | 4 | -83/+26 |
| | | | | | | | | | | | | | | | 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. | ||||
| | * | macros/interrupt_take: do not assume embassy-executor is a dependency of the ↵ | Dario Nieuwenhuis | 2022-08-17 | 1 | -4/+4 |
| | | | | | | | | | user crate. | ||||
| * | | Add separate feature flag to enable interrupt tracing | Quentin Smith | 2022-08-16 | 1 | -2/+2 |
| | | | |||||
| * | | Add support for rtos-trace behind a feature flag | Quentin Smith | 2022-08-10 | 1 | -1/+7 |
| |/ | |||||
| * | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | 2022-07-29 | 3 | -7/+7 |
| | | |||||
| * | Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral | Dario Nieuwenhuis | 2022-07-23 | 1 | -1/+1 |
| | | |||||
| * | Rename unsafe_impl_unborrow to impl_unborrow | Dario Nieuwenhuis | 2022-07-23 | 1 | -1/+1 |
| | | |||||
| * | Reuse unsafe_impl_unborrow in other macros. | Dario Nieuwenhuis | 2022-07-23 | 1 | -9/+1 |
| | | |||||
| * | WIP: Make unborrow safe to use | Grant Miller | 2022-07-23 | 1 | -2/+5 |
| | | |||||
| * | Remove the authors field from Cargo.tomls | Dario Nieuwenhuis | 2022-06-18 | 1 | -1/+0 |
| | | | | | | | | | | | | It currently contains whoever was first to write some code for the crate, even if many more people have contributed to it later. The field is "sort of" deprecated, it was made optional recently: https://rust-lang.github.io/rfcs/3052-optional-authors-field.html Due the the reasons listed there I believe removing it is better than setting it to generic fluff like "The Embassy contributors". | ||||
| * | Update to 2021 edition. (#820) | Dario Nieuwenhuis | 2022-06-18 | 1 | -1/+1 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 5 | -26/+15 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 5 | -15/+20 |
| | | | | | | | - Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`. | ||||
| * | Merge #742 | bors[bot] | 2022-04-29 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | | | 742: Only 1 argument in embassy::main when there is no HAL r=Dirbaio a=jbeaurivage There is a slight mistake in an error message from `[embassy::main]` macro. When there is no HAL specified, `main` should take only one argument. Co-authored-by: Justin Beaurivage <[email protected]> | ||||
| | * | Require 1 argument in embassy::main without HAL | Justin Beaurivage | 2022-04-29 | 1 | -1/+1 |
| | | | |||||
| * | | executor: "send-spawn is OK if the args are Send" only holds for async fn ↵ | Dario Nieuwenhuis | 2022-04-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | futures. The normal `spawn()` methods can be called directly by the user, with arbitrary hand-implemented futures. We can't enforce they're only called with `async fn` futures. Therefore, make these require `F: Send`, and add a "private" one only for use in the macro, which can enforce it. | ||||
| * | | executor: make send-spawning only require the task args to be Send, not the ↵ | Dario Nieuwenhuis | 2022-04-27 | 1 | -17/+4 |
| | | | | | | | | | whole future. | ||||
| * | | executor: add raw::TaskPool. | Dario Nieuwenhuis | 2022-04-27 | 1 | -6/+3 |
| | | | | | | | | | This simplifies the macro code a bit. | ||||
| * | | macros: simplify task macro using "TAIT laundering". | Dario Nieuwenhuis | 2022-04-26 | 1 | -17/+14 |
| | | | |||||
| * | | macros: isolate the TAIT into its own mod. | Dario Nieuwenhuis | 2022-04-25 | 1 | -34/+33 |
| |/ | | | | | This fixes type inference issues due to the TAIT's defining scope being the whole parent mod. | ||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2022-04-24 | 1 | -8/+22 |
| | | | | | | | | | | Fixes a new opaque type error in the task macro. Full error is "opaque type's hidden type cannot be another opaque type from the same scope". This got disallwed by the lazy-TAIT PR: https://github.com/rust-lang/rust/pull/94081 Sadly there's now some weird type inference errors with pre-lazy-TAIT nightlies, so support for those is dropped. | ||||
| * | macros: cleanup, make work in stable. | Dario Nieuwenhuis | 2022-02-12 | 13 | -547/+462 |
| | | |||||
