Tarun Singh
a716a3f006
Reduced define for 'unreachable!' to a single macro rule
2024-07-17 17:05:52 -04:00
Dario Nieuwenhuis
6a4ac5bd60
Add collapse_debuginfo to fmt.rs macros.
...
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+.
2024-06-17 01:38:57 +02:00
Dario Nieuwenhuis
4d9115b3fb
Update stable to Rust 1.79.
2024-06-13 20:40:04 +02:00
zjp
dd6a873447
minimize cfg code in task_from_waker
2024-06-13 07:59:28 +08:00
zjp
b780df5f76
put cfg code inside task_from_waker function
2024-06-13 07:33:40 +08:00
zjp
6b9470be2c
fix warning on unused import
2024-06-09 11:50:32 +08:00
zjp
3f45ec6ead
use nightly waker_getters APIs
...
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.
2024-06-09 11:39:47 +08:00
Jan Špaček
bfb380e8ca
Copy build_common.rs into each crate, to make cargo publish happy
2024-05-31 08:07:51 +02:00
Jan Špaček
368893c9cb
Emit cargo:rustc-check-cfg instructions from build.rs
2024-05-30 18:28:29 +02:00
Dario Nieuwenhuis
3845288ffb
Merge pull request #2718 from embassy-rs/update-nightly44
...
Update nightly Rust.
2024-03-20 15:54:55 +00:00
Dario Nieuwenhuis
eca9aac194
Fix warnings in recent nightly.
2024-03-20 16:39:09 +01:00
Dario Nieuwenhuis
6eb539a6a1
Merge pull request #2574 from GrantM11235/atpit
...
Use ATPIT for task macro
2024-03-20 15:12:31 +00:00
Dario Nieuwenhuis
3d842dac85
fmt: disable "unused" warnings.
2024-03-20 14:53:19 +01:00
Zheng Li
2c42463205
executor: remove portable-atomic for riscv.
2024-03-02 00:21:56 +01:00
Grant Miller
5a6384333f
Fix feature flag in executor tests
2024-02-14 16:14:41 -06:00
xgroleau🐢
262518cfe5
fix: removed trailing comma
2024-02-08 09:02:07 -05:00
xgroleau🐢
09613e90de
fix: missing 0
2024-02-08 09:01:07 -05:00
xgroleau🐢
d48620d58f
fix: compilation for rtos trace
2024-02-08 08:59:06 -05:00
xgroleau🐢
5f36108896
fix: rtos-usage time missing
2024-02-06 15:08:05 -05:00
Dario Nieuwenhuis
31fa0aebd8
executor: update remove portable-atomic comment.
...
Fixes #2481
2024-01-26 14:26:19 +01:00
Dario Nieuwenhuis
35f09374b5
Merge pull request #2273 from djdisodo/main
...
initial support for avr
2024-01-19 23:26:55 +01:00
Dario Nieuwenhuis
6a1c415a4c
Complete cargo.tomls more.
2024-01-12 00:32:47 +01:00
Dario Nieuwenhuis
22197320ff
bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4.
2024-01-11 23:01:24 +01:00
Dario Nieuwenhuis
f0606da9ad
time: split queue driver too, don't reexport drivers.
2024-01-11 23:01:24 +01:00
sodo
01dbe92783
fix
2024-01-03 12:35:07 +09:00
sodo
b0071c5070
avr: sleep fix
2024-01-02 14:55:35 +09:00
sodo
6ee153a3e2
Merge remote-tracking branch 'origin'
2024-01-02 13:34:22 +09:00
sodo
b7cd7952c8
avr: support sleep
2024-01-01 21:23:57 +09:00
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
sodo
58d503a77d
add avr support
2023-12-10 01:45:24 +09: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