aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
Commit message (Collapse)AuthorAgeFilesLines
...
* Swap poll_fn to allow polling exited tasksDániel Buga2024-12-176-34/+25
|
* Take critical section instead of unsafeDániel Buga2024-12-173-14/+22
|
* Simplify ARM run_enqueueDániel Buga2024-12-171-18/+3
|
* Set RUN_QUEUED unconditionallyDániel Buga2024-12-176-21/+142
|
* Document task states and state transitionsDániel Buga2024-12-171-0/+38
|
* Merge pull request #3656 from bugadani/timer-queue-specialDario Nieuwenhuis2024-12-178-151/+64
|\ | | | | Remove special handling of integrated timer queues and items
| * Remove test implementation of schedule_wakeDániel Buga2024-12-161-4/+0
| |
| * Remove TIMER_QUEUEDDániel Buga2024-12-163-91/+2
| |
| * ChangelogDániel Buga2024-12-161-0/+1
| |
| * Remove special handling of integrated timer itemsDániel Buga2024-12-162-34/+0
| |
| * Attach payload to TimerQueueItemDániel Buga2024-12-162-0/+61
| |
| * Remove special handling of integrated timer queueDániel Buga2024-12-161-22/+0
| |
* | Remove WakerHack for good.Dario Nieuwenhuis2024-12-171-13/+2
|/ | | | Now that 1.83 xtensa is out, we can remove it unconditionally.
* Rely on atomic load-store on all targetsDániel Buga2024-12-162-68/+25
|
* Fix racy access of TaskHeader::executorDániel Buga2024-12-164-13/+75
|
* Only lock once to wake a taskDániel Buga2024-12-166-40/+73
|
* Zero-inizialize expires_atDániel Buga2024-12-161-1/+1
|
* Fix comments and tweak task exitDániel Buga2024-12-152-8/+18
|
* Make sure an exited task does not get stuck in a timer queueDániel Buga2024-12-152-0/+18
|
* Make `integrated-timers` the default, remove Cargo feature.Dario Nieuwenhuis2024-12-156-38/+9
|
* Prevent task from respawning while in the timer queueDániel Buga2024-12-135-4/+152
|
* Move integrated timer queue into time-queue-driverDániel Buga2024-12-123-91/+11
|
* Do not access task headerDániel Buga2024-12-102-8/+12
|
* Remove TIMER_QUEUED stateDániel Buga2024-12-104-58/+4
|
* ChangelogDániel Buga2024-12-101-1/+4
|
* Refactor integrated-timersDániel Buga2024-12-1011-171/+89
|
* Extend tracing api to support executor id and end taskUlf Lilleengen2024-12-093-41/+107
| | | | | | Allow applications to provide a trace implementation that only needs to implement APIs used by the embassy executor, and provide more context in the event of multiple executors being used.
* Add initializeDániel Buga2024-11-199-6/+47
|
* Only set callback onceDániel Buga2024-11-192-5/+9
|
* Release embassy-executor 0.6.3.Dario Nieuwenhuis2024-11-122-1/+6
|
* executor: compare vtable addr instead of contents.Dario Nieuwenhuis2024-11-121-1/+3
| | | | Saves a whopping 44 bytes of text, yay.
* executor: use WakerHack unconditionally even if `nightly` feature is ↵Dario Nieuwenhuis2024-11-125-65/+11
| | | | | | enabled. (#3528) This ensures the executor compiles with all recent nightly versions, including the stable-but-with-nightly-features-enabled xtensa rustc.
* Also bump macrosDániel Buga2024-11-061-1/+1
|
* Prep executor 0.6.2Dániel Buga2024-11-062-3/+7
|
* Detect and allow older nightliesDániel Buga2024-11-065-1/+76
|
* Changelog executor v0.5.1 release.Dario Nieuwenhuis2024-10-211-1/+7
|
* Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1Dario Nieuwenhuis2024-10-212-3/+12
|
* executor: add compile-fail / ui tests.Dario Nieuwenhuis2024-10-2036-1/+274
|
* executor/spin: introduce an architecture agnostic executorDummyc0m2024-10-063-1/+69
| | | | | | | | | | | | | | | | | | | | | | 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]>
* fix: remove stable nightly featureOleksandr Babak2024-09-061-1/+0
|
* fix: nightly api changed during the nightOleksandr Babak2024-09-061-2/+1
|
* Enable critical-section/std on wasmSamuel Maier2024-09-051-1/+1
| | | | | Without that feature one will find import errors on opening the webpage, that are hard to debug. The feature was indirectly enabled in the wasm example, however the reason wasn't documented and thus it was easy to miss.
* update datesUlf Lilleengen2024-08-051-1/+1
|
* prepare release embassy-executorUlf Lilleengen2024-08-052-2/+8
|
* Update to Rust 1.80, make check-cfg unconditional.Dario Nieuwenhuis2024-07-251-20/+1
|
* Reduced define for 'unreachable!' to a single macro ruleTarun Singh2024-07-171-10/+6
|
* Add collapse_debuginfo to fmt.rs macros.Dario Nieuwenhuis2024-06-171-0/+17
| | | | | | This makes location info in defmt logs point to the code calling the macro, instead of always to fmt.rs as before. Fix works with nightlies starting with today's, and stable 1.81+.
* Update stable to Rust 1.79.Dario Nieuwenhuis2024-06-131-0/+4
|
* minimize cfg code in task_from_wakerzjp2024-06-131-26/+23
|
* put cfg code inside task_from_waker functionzjp2024-06-131-36/+26
|