| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | executor: rename macro crate to embassy-executor-macros, bump it. | Dario Nieuwenhuis | 2023-12-07 | 3 | -254/+0 |
| | | |||||
| * | executor: add support for main/task macros in stable (allocates tasks in an ↵ | Dario Nieuwenhuis | 2023-11-24 | 1 | -0/+9 |
| | | | | | arena) | ||||
| * | Upgrade static-cell to v2.0 | Dario Nieuwenhuis | 2023-11-02 | 1 | -2/+1 |
| | | |||||
| * | Allow arbitrary expressions as pool_size | Dániel Buga | 2023-06-25 | 1 | -9/+9 |
| | | |||||
| * | Update darling | Dániel Buga | 2023-06-25 | 2 | -6/+8 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 3 | -89/+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 | 3 | -75/+4 |
| | | |||||
| * | Allow for an optional user-defined entry macro when targeting RISC-V | Jesse Braham | 2023-05-16 | 1 | -4/+18 |
| | | |||||
| * | 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 | 1 | -47/+51 |
| | | | | | | Export all main macro per target architecture from embassy-macros, and select the appropriate macro in embassy-executor. | ||||
| * | riscv support | Sijmen Woutersen | 2022-11-10 | 1 | -2/+13 |
| | | |||||
| * | Ensure interrupt::take works without embassy-executor | Ulf Lilleengen | 2022-08-25 | 1 | -6/+21 |
| | | | | | | | 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 | 3 | -75/+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 | 1 | -49/+13 |
| | | | |||||
| | * | macros: remove embassy_prefix attr. | Dario Nieuwenhuis | 2022-08-17 | 2 | -41/+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 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 3 | -15/+9 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 4 | -9/+8 |
| | | | | | | | - 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 | 6 | -0/+369 |
