| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | executor: rename macro crate to embassy-executor-macros, bump it. | Dario Nieuwenhuis | 2023-12-07 | 1 | -175/+0 |
| | | |||||
| * | Update darling | Dániel Buga | 2023-06-25 | 1 | -10/+27 |
| | | |||||
| * | Make interrupt module more standard. | Dario Nieuwenhuis | 2023-06-08 | 1 | -13/+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 | 1 | -11/+0 |
| | | |||||
| * | Allow for an optional user-defined entry macro when targeting RISC-V | Jesse Braham | 2023-05-16 | 1 | -1/+13 |
| | | |||||
| * | refactor: autodetect macro variant | Ulf Lilleengen | 2022-11-23 | 1 | -3/+78 |
| | | | | | | Export all main macro per target architecture from embassy-macros, and select the appropriate macro in embassy-executor. | ||||
| * | doc: add README to embassy-macro | Ulf Lilleengen | 2022-11-22 | 1 | -0/+49 |
| | | | | | Documents the main and task macros. | ||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 1 | -9/+3 |
| | | |||||
| * | Add embassy-cortex-m crate. | Dario Nieuwenhuis | 2022-06-12 | 1 | -6/+12 |
| | | | | | | | - 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`. | ||||
| * | macros: cleanup, make work in stable. | Dario Nieuwenhuis | 2022-02-12 | 1 | -515/+19 |
| | | |||||
| * | macros: initialize chip before executor. | Dario Nieuwenhuis | 2022-01-05 | 1 | -4/+2 |
| | | | | | | The executor will call into the chip's time-driver, which may need the chip to be initialized. | ||||
| * | Update rust-toolchain | Ulf Lilleengen | 2021-12-16 | 1 | -0/+1 |
| | | |||||
| * | Fix interrupt_take macro by specifying path to panic macro. | Matous Hybl | 2021-11-23 | 1 | -2/+6 |
| | | |||||
| * | Fix warning for field never used. | Wilfried Chauveau | 2021-11-21 | 1 | -0/+7 |
| | | |||||
| * | Clippy fixes | Dario Nieuwenhuis | 2021-10-18 | 1 | -0/+1 |
| | | |||||
| * | Add WASM support for executor | Ulf Lilleengen | 2021-09-13 | 1 | -0/+79 |
| | | | | | | | | * Adds an executor for WASM runtimes based on wasm_bindgen. * Add time driver based on JS time handling. * Add example that can run in browser locally. * Update to critical-section version that supports 'std' flag | ||||
| * | Fix embassy::main macros for std target | Ulf Lilleengen | 2021-09-02 | 1 | -3/+1 |
| | | |||||
| * | Improve executor naming. Add docs. | Dario Nieuwenhuis | 2021-08-31 | 1 | -4/+4 |
| | | |||||
| * | embassy-macros: Use `defmt::unwrap!` when spawning `embassy::main` | Ben Gamari | 2021-08-05 | 1 | -1/+1 |
| | | | | | But only when `defmt` feature is enabled. | ||||
| * | Forward attributes to generated task function | Liam Murphy | 2021-08-05 | 1 | -0/+3 |
| | | | | | | | | Fixes #18 Syn considers doc comments to be attributes, so forwarding those fixes the issue. It's probably a good idea to forward most attributes anyway. | ||||
| * | Re-adds embassy macros for stm32 | Ulf Lilleengen | 2021-05-25 | 1 | -1/+5 |
| | | | | | | | * Hook RCC config into chip config and use chip-specific RCC init function * RTC/clock setup is ignored for now | ||||
| * | Mark Unborrow as unsafe to implement | Dario Nieuwenhuis | 2021-05-19 | 1 | -1/+1 |
| | | |||||
| * | impl Unborrow for &'a mut T | Dario Nieuwenhuis | 2021-05-19 | 1 | -7/+0 |
| | | | | | This plays nicer with user code that's generic over peripheral traits like `Instance` or `Pin`. | ||||
| * | Merge branch 'stm32-neo' | Dario Nieuwenhuis | 2021-05-17 | 1 | -1/+1 |
| |\ | |||||
| | * | stm32: codegen interrupts | Dario Nieuwenhuis | 2021-05-01 | 1 | -5/+68 |
| | | | |||||
| | * | Add Priority enums to embassy-extras | Dario Nieuwenhuis | 2021-05-01 | 1 | -2/+2 |
| | | | |||||
| * | | Add `init` fn. Initializes hw and returns Peripherals. | Dario Nieuwenhuis | 2021-05-17 | 1 | -3/+3 |
| | | | |||||
| * | | Remove stm32. | Dario Nieuwenhuis | 2021-05-17 | 1 | -5/+1 |
| | | | | | | | | | stm32 developemnt continues in the `stm32-neo` branch for now. | ||||
| * | | Add `#[interrupt]` macro to register static interrupts. | Dario Nieuwenhuis | 2021-05-17 | 1 | -5/+68 |
| | | | |||||
| * | | nrf: add support for nrf52805, nrf52811, nrf52820 | Dario Nieuwenhuis | 2021-05-17 | 1 | -1/+1 |
| | | | |||||
| * | | Pass config directly to chip specific configure function | Ulf Lilleengen | 2021-04-22 | 1 | -13/+25 |
| |/ | | | | | | | | | | | | | This removes the need to duplicate the configuration for each individual chip, but will instead pass on the configuration specified in the config attribute. Update nrf, stm32, rp macros with passing the config to a per-chip configure function which assumes the appropriate configuration to be passed to it. To demonstrate this feature, the stm32l0xx clock setup and RTC is added which exposes clock configuration different from stm32f4xx (and has a different set of timers and HAL APIs). | ||||
| * | Rename PeripheralBorrow to Unborrow | Dario Nieuwenhuis | 2021-04-14 | 1 | -2/+2 |
| | | |||||
| * | Add embassy_prefix attribute parameter to task and main macros | Ulf Lilleengen | 2021-04-14 | 1 | -10/+45 |
| | | | | | | | | This allows crates depending on embassy that wants to use a different module path to do so for the 'task' and 'main' macros, by passing the parameter 'embassy_prefix'. The prefix defaults to '::', which will retain the existing behavior. | ||||
| * | Add std version of embassy::main | Ulf Lilleengen | 2021-04-12 | 1 | -0/+66 |
| | | |||||
| * | Fix unused import warnings | Dario Nieuwenhuis | 2021-03-29 | 1 | -6/+2 |
| | | |||||
| * | rp: add initial version | Dario Nieuwenhuis | 2021-03-29 | 1 | -5/+8 |
| | | |||||
| * | Reexport macros at root, use eveywhere as `#[embassy::task]` | Dario Nieuwenhuis | 2021-03-29 | 1 | -1/+1 |
| | | |||||
| * | nrf: add main macro support | Dario Nieuwenhuis | 2021-03-29 | 1 | -43/+17 |
| | | |||||
| * | Code size optimizations. | Dario Nieuwenhuis | 2021-03-29 | 1 | -6/+4 |
| | | |||||
| * | Implement PeripheralBorrow for interrupts. | Dario Nieuwenhuis | 2021-03-29 | 1 | -0/+14 |
| | | |||||
| * | add embassy::main and implement for stm32f4 | xoviat | 2021-03-27 | 1 | -0/+117 |
| | | |||||
| * | Add spawn/spawn_pool APIs to Task | Dario Nieuwenhuis | 2021-03-18 | 1 | -1/+1 |
| | | |||||
| * | Move Task into raw | Dario Nieuwenhuis | 2021-03-18 | 1 | -3/+4 |
| | | |||||
| * | Do not reexport atomic-polyfill | Dario Nieuwenhuis | 2021-03-17 | 1 | -4/+4 |
| | | |||||
| * | thumbv6m support with emulated atomics | Dario Nieuwenhuis | 2021-03-04 | 1 | -4/+4 |
| | | |||||
| * | Cleanup interrupt package naming. Fixes #40 | Dario Nieuwenhuis | 2021-02-26 | 1 | -5/+5 |
| | | | | | | | | | | The `interrupt` package previously tried to be drop-in compatible with the `interrupt` package from PACs. THis meant that there was both a PAC-style enum value `UARTE0` and an embassy-style owned `UARTE0Interrupt` type. This made things VERY confusing. This drops compatibility with the PAC, improving the names for embassy interrupts. | ||||
| * | Fix macro if user crate is not using feature(const_in_array_repeat_expressions) | Dario Nieuwenhuis | 2021-02-23 | 1 | -1/+2 |
| | | |||||
| * | Update to cortex-m 0.7 | Dario Nieuwenhuis | 2021-02-14 | 1 | -3/+3 |
| | | |||||
| * | Get rid of some warnings | Thales Fragoso | 2021-02-13 | 1 | -2/+2 |
| | | |||||
| * | Executor API V2. | Dario Nieuwenhuis | 2021-02-02 | 1 | -5/+15 |
| | | | | | | - It's no longer possible to call run() reentrantly from within a task (soundness issue) - it's now possible to spawn Send tasks across threads (SendSpawner, #37) | ||||
