aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fix warning on unused importzjp2024-06-091-2/+1
|
* use nightly waker_getters APIszjp2024-06-092-0/+26
| | | | | | | Since https://github.com/rust-lang/rust/issues/96992 has stalled, to prevent potential unsoundness caused by transmuting to &WakerHack, we can use nightly waker_getters APIs by gating it behind nightly feature in embassy-executor without waiting for it to be stablized.
* Copy build_common.rs into each crate, to make cargo publish happyJan Špaček2024-05-312-1/+110
|
* Emit cargo:rustc-check-cfg instructions from build.rsJan Špaček2024-05-301-26/+5
|
* Merge pull request #2718 from embassy-rs/update-nightly44Dario Nieuwenhuis2024-03-202-3/+2
|\ | | | | | | Update nightly Rust.
| * Fix warnings in recent nightly.Dario Nieuwenhuis2024-03-201-1/+1
| |
| * fmt: disable "unused" warnings.Dario Nieuwenhuis2024-03-201-2/+1
| |
* | Merge pull request #2574 from GrantM11235/atpitDario Nieuwenhuis2024-03-201-1/+1
|\ \ | |/ |/| | | Use ATPIT for task macro
| * Fix feature flag in executor testsGrant Miller2024-02-141-1/+1
| |
* | executor: remove portable-atomic for riscv.Zheng Li2024-03-022-4/+3
|/
* fix: removed trailing commaxgroleau🐢2024-02-081-1/+1
|
* fix: missing 0xgroleau🐢2024-02-081-1/+1
|
* fix: compilation for rtos tracexgroleau🐢2024-02-082-5/+11
|
* fix: rtos-usage time missingxgroleau🐢2024-02-062-1/+5
|
* executor: update remove portable-atomic comment.Dario Nieuwenhuis2024-01-261-1/+1
| | | | Fixes #2481
* Merge pull request #2273 from djdisodo/mainDario Nieuwenhuis2024-01-193-4/+82
|\ | | | | initial support for avr
| * fixsodo2024-01-031-1/+1
| |
| * avr: sleep fixsodo2024-01-021-2/+5
| |
| * Merge remote-tracking branch 'origin'sodo2024-01-025-14/+99
| |\
| * | avr: support sleepsodo2024-01-012-4/+17
| | |
| * | add avr supportsodo2023-12-103-1/+63
| | |
* | | Complete cargo.tomls more.Dario Nieuwenhuis2024-01-121-0/+1
| | |
* | | bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4.Dario Nieuwenhuis2024-01-112-1/+5
| | |
* | | time: split queue driver too, don't reexport drivers.Dario Nieuwenhuis2024-01-113-25/+23
| |/ |/|
* | Add test caseScott Mabin2023-12-311-0/+14
| |
* | [embassy-executor] improved documentationBarnaby Walters2023-12-224-10/+81
| | | | | | | | | | | | | | | | | | | | | | | | * Feature auto-documentation * Task arena sizes in a <details> list * Non-documented comment explaining turbowakers with see-also link Further improvements: * Are the task-arena-size-* numbers sizes in bytes? or something else? * Task arena section could benefit from advice about how to choose a suitable size
* | ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-2/+2
|/
* executor: rename macro crate to embassy-executor-macros, bump it.Dario Nieuwenhuis2023-12-078-11/+11
|
* embassy-executor 0.4Jesse Braham2023-12-062-2/+5
|
* update release version in examples and other cratesScott Mabin2023-12-041-1/+1
|
* executor: remove arch-xtensa.Dario Nieuwenhuis2023-12-034-93/+5
| | | | | | | | It's been broken for months and nobody has noticed. The `esp*-hal` crates have much better support. Fixes #2234 Closes #1912
* executor: make task arena size configurable.Dario Nieuwenhuis2023-11-245-26/+275
|
* executor: add support for main/task macros in stable (allocates tasks in an ↵Dario Nieuwenhuis2023-11-247-9/+93
| | | | arena)
* executor: add some tests.Dario Nieuwenhuis2023-11-242-0/+140
|
* executor: Remove non-functional rtos-trace-interrupt.Dario Nieuwenhuis2023-11-242-25/+1
|