Scott Mabin
2efde24f33
Add test case
2023-12-31 16:55:46 +00:00
Barnaby Walters
6bbc316312
[embassy-executor] improved documentation
...
* 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
2023-12-22 19:05:16 +01:00
Dario Nieuwenhuis
8b36a32ed5
ci: use beta, add secondary nightly ci.
2023-12-21 15:03:57 +01:00
Dario Nieuwenhuis
ac2aec4e7a
executor: rename macro crate to embassy-executor-macros, bump it.
2023-12-07 00:48:30 +01:00
Jesse Braham
c5e8a2e834
embassy-executor 0.4
2023-12-06 11:59:22 +01:00
Scott Mabin
334900752a
update release version in examples and other crates
2023-12-04 13:15:10 +00:00
Dario Nieuwenhuis
ca3891bb8c
executor: remove arch-xtensa.
...
It's been broken for months and nobody has noticed. The `esp*-hal` crates have
much better support.
Fixes #2234
Closes #1912
2023-12-03 22:33:27 +01:00
Dario Nieuwenhuis
996c3c1f7e
executor: make task arena size configurable.
2023-11-24 23:52:09 +01:00
Dario Nieuwenhuis
171cdb94c7
executor: add support for main/task macros in stable (allocates tasks in an arena)
2023-11-24 23:52:09 +01:00
Dario Nieuwenhuis
1fbc150fd6
executor: add some tests.
2023-11-24 23:52:09 +01:00
Dario Nieuwenhuis
259cf6192b
executor: Remove non-functional rtos-trace-interrupt.
2023-11-24 23:52:09 +01:00
Dario Nieuwenhuis
27e6634c9d
executor: add faster ARM-specific impl.
...
Does a wake+poll in 79 cycles in nrf52840.
2023-11-15 18:47:11 +01:00
Dario Nieuwenhuis
1f9b649f80
executor: release v0.3.3
2023-11-15 18:44:01 +01:00
Dario Nieuwenhuis
bef9b7a853
executor: remove atomic-polyfill.
2023-11-15 18:43:27 +01:00
Dario Nieuwenhuis
50a983fd9b
executor: add missing main
macro reexport on xtensa.
2023-11-14 18:45:23 +01:00
Dániel Buga
b8f9341edc
Prepare embassy-executor 0.3.2
2023-11-06 21:50:40 +01:00
Dániel Buga
8d8d50cc7a
Yeet core::sync::atomic, remove futures-util dep
2023-11-06 17:35:02 +01:00
Dario Nieuwenhuis
1f51367eb9
Upgrade static-cell to v2.0
2023-11-02 21:52:07 +01:00
Dario Nieuwenhuis
e519e00265
Update Rust nightly.
2023-11-01 04:56:56 +01:00
Dario Nieuwenhuis
dd6a29adb2
Release embassy-executor v0.3.1
2023-11-01 00:17:44 +01:00
Aleksandr Krotov
6b19c0abd1
Fix #2100 - function address comparison
2023-10-25 11:01:35 +03:00
Dario Nieuwenhuis
213b4c9dca
time: add links
key, release v0.1.5.
2023-10-16 20:11:35 +02:00
Adam Greig
7559f9e583
time: Update documentation to use new after_x convenience methods
2023-10-15 00:47:56 +01:00
Dániel Buga
02d2c06b23
Release embassy-time 0.1.4
2023-10-12 18:14:33 +02:00
Hailey Somerville
b9d4b18f14
update UninitCell::write call in arch::wasm too
2023-09-14 13:59:24 +10:00
Hailey Somerville
3a1ed823f8
write to TaskStorage::future via inline(never) fn to encourage RVO
2023-09-14 13:42:11 +10:00
Dario Nieuwenhuis
5e613d9abb
Sync all fmt.rs files.
2023-08-30 01:37:18 +02:00
Jesse Braham
1f63bf4153
Release embassy-time v0.1.3
2023-08-28 08:00:18 -07:00
Dario Nieuwenhuis
ca738d6c99
Merge pull request #1826 from bugadani/warn
...
Avoid dead code warning
2023-08-26 11:05:03 +00:00
Dániel Buga
54e2e17520
Avoid dead code warning
2023-08-26 12:53:39 +02:00
Dániel Buga
f8299d10f7
Prepare executor and macros for release ( #1825 )
...
* Set release date, bump macros version
* Add pool_size change to changelog
2023-08-25 23:32:00 +02:00
Dániel Buga
a2c718f61c
Bump executor crate version to 0.3.0
2023-08-23 20:34:37 +02:00
Dániel Buga
0a73c84df0
Make AvailableTask public, deduplicate
2023-08-21 18:12:41 +02:00
Dániel Buga
890f29ccfe
Update docs
2023-08-14 17:57:01 +02:00
Dániel Buga
e4f3979ec8
Don't check context if only thread-mode is enabled
2023-08-14 16:46:02 +02:00
Dániel Buga
07c3600127
Hide Pender
2023-08-14 16:35:48 +02:00
Dániel Buga
da4f15d944
Fix fn name
2023-08-14 16:34:10 +02:00
Dániel Buga
9954346143
Remove interrupt executor, remove PenderContext
2023-08-14 16:04:11 +02:00
Dániel Buga
3a51e2d9ca
Make PenderContext actually pointer-size
2023-08-14 15:45:43 +02:00
Dániel Buga
986a63ebb8
Remove the non-specific thread-mode executor
2023-08-14 15:41:53 +02:00
Dániel Buga
4c4b12c307
Make PenderContext opaque
2023-08-14 15:16:40 +02:00
Dániel Buga
f6007869bf
Remove the Pender enum
2023-08-14 09:00:08 +02:00
Dániel Buga
454a7cbf4c
Remove pender-callback
2023-08-14 08:32:26 +02:00
Dániel Buga
ec6bd27df6
Remove thread-context feature
2023-08-14 08:22:22 +02:00
Dániel Buga
6ab0d71d92
Tweak identifiers and comments
2023-08-12 22:42:50 +02:00
Dániel Buga
d5e66f6f87
Lift thread-context feature restrictions
2023-08-12 22:20:11 +02:00
Dániel Buga
bce250bbdc
Remove unnecessary !Send markers
2023-08-12 22:17:03 +02:00
Dániel Buga
fbf50cdae8
Remove Pender wrapper
2023-08-12 22:13:08 +02:00
Dániel Buga
675b7fb605
POC: allow custom executors
2023-08-12 18:29:56 +02:00
Dániel Buga
baef856206
Bump version
2023-08-10 23:20:31 +02:00