aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/arch
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Cortex-A/RRobin Mueller2025-05-281-0/+84
|
* Fix some intra-doc linksJames Munns2025-04-031-4/+5
|
* Refactor integrated-timersDániel Buga2024-12-106-26/+0
|
* Add initializeDániel Buga2024-11-196-0/+26
|
* executor/spin: introduce an architecture agnostic executorDummyc0m2024-10-061-0/+58
| | | | | | | | | | | | | | | | | | | | | | 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: remove portable-atomic for riscv.Zheng Li2024-03-021-1/+1
|
* fixsodo2024-01-031-1/+1
|
* avr: sleep fixsodo2024-01-021-2/+5
|
* avr: support sleepsodo2024-01-011-2/+11
|
* add avr supportsodo2023-12-101-0/+60
|
* executor: rename macro crate to embassy-executor-macros, bump it.Dario Nieuwenhuis2023-12-074-4/+4
|
* executor: remove arch-xtensa.Dario Nieuwenhuis2023-12-031-89/+0
| | | | | | | | It's been broken for months and nobody has noticed. The `esp*-hal` crates have much better support. Fixes #2234 Closes #1912
* executor: add support for main/task macros in stable (allocates tasks in an ↵Dario Nieuwenhuis2023-11-245-5/+0
| | | | arena)
* executor: remove atomic-polyfill.Dario Nieuwenhuis2023-11-152-13/+10
|
* executor: add missing `main` macro reexport on xtensa.Dario Nieuwenhuis2023-11-141-0/+3
|
* Yeet core::sync::atomic, remove futures-util depDániel Buga2023-11-061-1/+1
|
* update UninitCell::write call in arch::wasm tooHailey Somerville2023-09-141-2/+3
|
* Avoid dead code warningDániel Buga2023-08-261-3/+2
|
* Don't check context if only thread-mode is enabledDániel Buga2023-08-141-1/+2
|
* Fix fn nameDániel Buga2023-08-143-5/+5
|
* Remove interrupt executor, remove PenderContextDániel Buga2023-08-145-16/+14
|
* Remove the non-specific thread-mode executorDániel Buga2023-08-144-178/+358
|
* Make PenderContext opaqueDániel Buga2023-08-145-6/+8
|
* Remove the Pender enumDániel Buga2023-08-145-53/+84
|
* Remove thread-context featureDániel Buga2023-08-145-12/+0
|
* Tweak identifiers and commentsDániel Buga2023-08-124-33/+18
|
* Lift thread-context feature restrictionsDániel Buga2023-08-122-12/+17
|
* Remove unnecessary !Send markersDániel Buga2023-08-124-21/+5
|
* Remove Pender wrapperDániel Buga2023-08-121-4/+2
|
* POC: allow custom executorsDániel Buga2023-08-125-372/+190
|
* embassy-executor: introduce `InterruptExecutor::spawner()`Kaspar Schleiser2023-06-161-0/+15
|
* Work around xtensa deadlock, take 2Dániel Buga2023-05-131-12/+20
|
* re-export main_riscv macro as main for riscv arch.Roy Buitenhuis2023-04-111-0/+3
|
* executor: add Pender, rework Cargo features.Dario Nieuwenhuis2023-04-035-294/+496
| | | | | | | | | This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
* Remove unnecessary use of atomic-polyfill.Dario Nieuwenhuis2022-12-232-4/+2
| | | | Only use it when CAS is actually needed.
* fix: revert race condition introduced for riscvUlf Lilleengen2022-11-231-5/+13
|
* restore SIGNAL_WORK_THREAD_MODESijmen Woutersen2022-11-121-1/+6
|
* riscv supportSijmen Woutersen2022-11-101-14/+1
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-225-5/+5
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-185-0/+366