9231 Commits

Author SHA1 Message Date
Piotr Esden-Tempski
b2e8268470 stm32/(o|q)spi: command naming convention fix
The naming convention is to prefix blocking functions with blocking. As
both command implementations are blocking the async for the ospi
implementation should also be dropped.
2024-12-17 14:45:52 -08:00
Dario Nieuwenhuis
0c245892c6
Merge pull request #3622 from bugadani/next
Allow polling exited tasks
2024-12-17 18:03:07 +00:00
Dániel Buga
76d8a896bb
Make poll_to_despawn a no_op 2024-12-17 18:51:22 +01:00
Dániel Buga
2ca374fc9c
Don't force a wake to despawn 2024-12-17 18:47:56 +01:00
Dániel Buga
a011f48769
Make poll_to_despawn non-generic 2024-12-17 18:37:17 +01:00
Dániel Buga
7d5fbe26c9
Update state diagram 2024-12-17 18:17:36 +01:00
Dániel Buga
b51bd9ad04
Update tests 2024-12-17 18:09:51 +01:00
Dániel Buga
8fd08b1e97
Swap poll_fn to allow polling exited tasks 2024-12-17 18:07:06 +01:00
Dániel Buga
edb8f21a74
Take critical section instead of unsafe 2024-12-17 17:53:12 +01:00
Dario Nieuwenhuis
c1120c7138
Merge pull request #3573 from bugadani/enqueue
Unconditionally set `RUN_QUEUED`
2024-12-17 16:27:47 +00:00
Dániel Buga
889b419fc4
Simplify ARM run_enqueue 2024-12-17 17:15:40 +01:00
Dániel Buga
c6ca46c825
Set RUN_QUEUED unconditionally 2024-12-17 16:52:13 +01:00
Dario Nieuwenhuis
2853308d8f
Merge pull request #3628 from bugadani/states
Document task states and state transitions
2024-12-17 16:50:58 +01:00
Dániel Buga
7eac184af0
Document task states and state transitions 2024-12-17 16:47:33 +01:00
Dario Nieuwenhuis
c504ae8d3a
Merge pull request #3656 from bugadani/timer-queue-special
Remove special handling of integrated timer queues and items
2024-12-17 14:52:12 +01:00
Dario Nieuwenhuis
9cf037bc95
Merge pull request #3657 from embassy-rs/waker-unhack
Remove WakerHack for good.
2024-12-17 13:16:54 +01:00
Dario Nieuwenhuis
fc25fca00b Remove WakerHack for good.
Now that 1.83 xtensa is out, we can remove it unconditionally.
2024-12-17 13:06:31 +01:00
Dániel Buga
c3c571e01e
Remove test implementation of schedule_wake 2024-12-16 20:37:02 +01:00
Dániel Buga
c90d048ecb
Remove TIMER_QUEUED 2024-12-16 20:37:02 +01:00
Dániel Buga
a8617429e4
Add note 2024-12-16 20:37:01 +01:00
Dániel Buga
71812d0c9b
Changelog 2024-12-16 20:37:01 +01:00
Dániel Buga
fbd0fe06bd
Remove special handling of integrated timer items 2024-12-16 20:37:01 +01:00
Dániel Buga
c9f32b7e36
Attach payload to TimerQueueItem 2024-12-16 20:36:59 +01:00
Dániel Buga
3c121e5425
Remove special handling of integrated timer queue 2024-12-16 19:22:22 +01:00
Dario Nieuwenhuis
d3f0294fb1
Merge pull request #3655 from bugadani/header-executor
Fix racy access of TaskHeader::executor
2024-12-16 16:52:21 +00:00
Dániel Buga
b47a631abf
Rely on atomic load-store on all targets 2024-12-16 17:29:07 +01:00
Dario Nieuwenhuis
50d67083b8
Merge pull request #3589 from embassy-rs/rust183
Update to Rust 1.83
2024-12-16 17:26:00 +01:00
Dario Nieuwenhuis
2846647c94 Remove use of static mut. 2024-12-16 16:15:28 +01:00
Dario Nieuwenhuis
87280463b2 Update to Rust 1.83 2024-12-16 16:06:00 +01:00
Dániel Buga
b44ef5ccb4
Fix racy access of TaskHeader::executor 2024-12-16 16:01:08 +01:00
Dario Nieuwenhuis
47e96beff4
Merge pull request #3644 from bugadani/lock_once
Only lock once to wake a task
2024-12-16 14:46:08 +00:00
Dániel Buga
f389ba3721
Only lock once to wake a task 2024-12-16 15:28:19 +01:00
Dario Nieuwenhuis
2c3bc75da6
Merge pull request #3593 from bugadani/refactor
Rework time-driver contract.
2024-12-16 12:30:30 +00:00
Dániel Buga
e1c0061328
Disable failing test 2024-12-16 12:54:45 +01:00
Dániel Buga
a10290b28e
Zero-inizialize expires_at 2024-12-16 09:15:15 +01:00
Dániel Buga
4df4ffbbd4
Remove time-driver dependency 2024-12-15 20:28:12 +01:00
Dániel Buga
e77ac50248
Remove critical_section dependency 2024-12-15 20:27:08 +01:00
Dániel Buga
0492dba536
Update documentation and changelogs 2024-12-15 19:24:49 +01:00
Dániel Buga
e861344b17
Fix comments and tweak task exit 2024-12-15 18:50:00 +01:00
Dániel Buga
5c4983236c
Make sure an exited task does not get stuck in a timer queue 2024-12-15 18:50:00 +01:00
Dario Nieuwenhuis
2f2e2c6031
Make integrated-timers the default, remove Cargo feature. 2024-12-15 18:49:57 +01:00
Dario Nieuwenhuis
99ad61cecf
Merge pull request #3647 from vinsynth/rp-fix-pio-i2s-clock
Rp fix pio i2s clock
2024-12-15 11:02:01 +00:00
Dario Nieuwenhuis
1e37cc5498
Merge pull request #3646 from wackazong/embedded_io_async_uarte
Add trait embedded_io_async to uarte
2024-12-15 11:01:16 +00:00
Dario Nieuwenhuis
c84996df8a
Merge pull request #3645 from wackazong/power-wake-on-field
Add System Off and Wake on Field
2024-12-15 11:01:02 +00:00
Dario Nieuwenhuis
63cc5ce61e
Merge pull request #3652 from fwolter/fix-hsi48
STM32F0 fix using HSI48 as SYSCLK on devices with CRS
2024-12-15 10:59:09 +00:00
Fabian Wolter
4b31639dca STM32F0 fix using HSI48 as SYSCLK on devices with CRS
Fixes #3651
2024-12-14 23:32:08 +01:00
vinsynth
ffbef9316d i2s frequency relative to sysclk 2024-12-14 11:02:18 -05:00
Alexander Walter
ea374a4736 Fix rustfm and warning 2024-12-14 15:48:18 +01:00
Alexander Walter
f5ead85377 Just impl Write 2024-12-14 15:41:31 +01:00
Alexander Walter
3b5993cf48 Move wake on sense to nfct 2024-12-14 15:40:08 +01:00