| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | executor: allow overriding `embassy_executor` path in `task` macro | Kaspar Schleiser | 2024-11-04 | 1 | -4/+13 |
| | | |||||
| * | executor-macros: improve error messages. | Dario Nieuwenhuis | 2024-10-20 | 1 | -2/+24 |
| | | |||||
| * | executor: fix unsoundness due to `impl Trait`, improve macro error handling. ↵ | Dario Nieuwenhuis | 2024-10-18 | 6 | -286/+302 |
| | | | | | | | | | | | | | | (#3425) * executor-macros: don't parse function bodies. * executor-macros: refactor for better recovery and ide-friendliness on errors. * executor-macros: disallow `impl Trait` in task arguments. Fixes #3420 * Fix example using `impl Trait` in tasks. | ||||
| * | executor/spin: introduce an architecture agnostic executor | Dummyc0m | 2024-10-06 | 2 | -1/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | Spin polls the raw executor and never sleeps. It is useful for disabling any power features associated with wfi/wfe-like instructions. When implementing support for the CH32V30x MCU, the wfi instruction had issues interacting with the USB OTG peripheral and appeared to be non-spec-compliant. 1. When sending a USB Data-in packet, the USB peripheral appears to be unable to read the system main memory while in WFI. This manifests in the USB peripheral sending all or partially zeroed DATA packets. Disabling WFI works around this issue. 2. The WFI instruction does not wake up the processor when MIE is disabled. The MCU provides a WFITOWFE bit to emulate the WFE instruction on arm, which, when enabled, ignores the MIE and allows the processor to wake up. This works around the non-compliant WFI implementation. Co-authored-by: Codetector <[email protected]> Co-authored-by: Dummyc0m <[email protected]> | ||||
| * | executor: Use spawner.must_spawn(...) for wasm too | J. Neuschäfer | 2024-07-12 | 1 | -1/+1 |
| | | | | | | All other architectures use must_spawn instead of spawn+unwrap, so use it for wasm as well. | ||||
| * | Merge pull request #2718 from embassy-rs/update-nightly44 | Dario Nieuwenhuis | 2024-03-20 | 1 | -1/+0 |
| |\ | | | | | | | Update nightly Rust. | ||||
| | * | Fix warnings in recent nightly. | Dario Nieuwenhuis | 2024-03-20 | 1 | -1/+0 |
| | | | |||||
| * | | oops | Grant Miller | 2024-02-23 | 1 | -1/+1 |
| | | | |||||
| * | | Improve hygiene | Grant Miller | 2024-02-14 | 1 | -5/+4 |
| | | | |||||
| * | | wip | Grant Miller | 2024-02-14 | 1 | -3/+15 |
| |/ | |||||
| * | Merge remote-tracking branch 'origin' | sodo | 2024-01-02 | 1 | -4/+15 |
| |\ | |||||
| | * | Extend the task macro to allow cfging arguments away | Scott Mabin | 2023-12-31 | 1 | -4/+15 |
| | | | |||||
| * | | add avr support | sodo | 2023-12-10 | 2 | -0/+21 |
| |/ | |||||
| * | executor: rename macro crate to embassy-executor-macros, bump it. | Dario Nieuwenhuis | 2023-12-07 | 6 | -0/+503 |
