10938 Commits

Author SHA1 Message Date
r.marple
089b6722c6 Added timer set polarity functions for main and complementary outputs individually 2025-09-03 16:14:08 +10:00
Dario Nieuwenhuis
2ef9dfb512
Merge pull request #4634 from fwolter/fix-i2c-stop
stm32/i2c: fix failure of subsequent transmissions after NACK
2025-09-02 19:46:43 +00:00
Fabian Wolter
0835b58deb
Update changelog 2025-09-02 21:25:42 +02:00
Fabian Wolter
56f3c7a8c7
stm32/i2c: fix failure of subsequent transmissions after NACK
When a slave responds with a NACK in blocking I²C master mode, all subsequent transmissions send only the address followed immediately by a STOP.

This happens because the current implementation sets I2C_CR2.STOP = 1 whenever any error (including a NACK) occurs. As a result, the STOP bit is already set when the next transmission starts.

According to the reference manual: "If a NACK is received: […] a STOP condition is automatically sent […]"

This bug was not triggered until #4454 was merged.
2025-09-02 21:18:08 +02:00
Dario Nieuwenhuis
1405b1affa
Merge pull request #4633 from phycrax/derive-copy-qspi-cfg
embassy-stm32: Derive Clone, Copy for QSPI Config
2025-09-02 15:50:28 +00:00
Süha Ünüvar
010f4b08aa derive Clone, Copy for qspi transfer config 2025-09-02 23:41:25 +08:00
Süha Ünüvar
91e33015c3 update changelog 2025-09-02 23:23:01 +08:00
Süha Ünüvar
698109acfe derive Clone, Copy for qspi config 2025-09-02 23:20:01 +08:00
Ulf Lilleengen
f247fcf817
Merge pull request #4631 from bugadani/executor-changelog
Executor: Remove features, fix changelog
2025-09-02 06:53:03 +00:00
Dániel Buga
219cf09aab
Remove features, fix changelog 2025-09-02 08:34:07 +02:00
Dario Nieuwenhuis
de33d113a5
Merge pull request #4616 from OBauck/ole/nrf54l-init-low-power
nrf54l: Disable glitch detection and enable DC/DC in init.
2025-09-01 09:12:54 +00:00
Ole Bauck
67ba38e196 nrf54l: Disable glitch detection and enable DC/DC in init. 2025-09-01 10:38:26 +02:00
Dario Nieuwenhuis
0962b09603 Add changelog for embassy-executor v0.9.1 2025-08-31 23:09:31 +02:00
Dario Nieuwenhuis
a475dbbda8
Merge pull request #4372 from fg-cfh/feat/name-main-task
executor-macros: rtos-trace: name main task
2025-08-31 18:54:21 +00:00
Dario Nieuwenhuis
4cd86e5e76
Merge branch 'main' into feat/name-main-task 2025-08-31 20:50:20 +02:00
Dario Nieuwenhuis
71a2e81754
Merge pull request #4615 from fg-cfh/feat/upgrade-rtos-trace
rtos-trace: upgraded feature support
2025-08-31 18:42:37 +00:00
Dario Nieuwenhuis
a05506640b
Merge branch 'main' into feat/upgrade-rtos-trace 2025-08-31 20:37:10 +02:00
Dario Nieuwenhuis
065e979189
Merge pull request #4611 from yodaldevoid/issue-4610
fix: stm32/usb: Fixed STM32H5 build requiring time feature
2025-08-31 18:34:28 +00:00
Dario Nieuwenhuis
6da0da5695
Merge pull request #4617 from bugadani/perf
Fix perf regression on ESP32-S2/S3
2025-08-31 18:27:02 +00:00
Dániel Buga
fb531da007
Prefer word-sized state in CS impl 2025-08-31 10:45:03 +02:00
Dániel Buga
3fb6a9191c
Prefer pointer-sized atomic operations 2025-08-31 10:22:45 +02:00
Florian Grandel
629d224a76
fix(ci): executor macros changelog
Changes to executor macros are expected in the executor changelog. There
is now separate changelog for the macros crate.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2025-08-30 18:00:49 +02:00
Florian Grandel
47e45c9821
rtos-trace: upgraded feature support
Upgrade rtos-trace for start/stop and marker support.

These methods are not used in embassy code but can be useful in client
code.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2025-08-30 17:54:03 +02:00
Florian Grandel
ba5a75cd7d
executor: rtos-trace: name main task
Assigns a name to the main task when (rtos-)tracing is active. This
improves tracing usability with the SystemView backend.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2025-08-30 17:42:37 +02:00
Gabriel Smith
fb8757c690 fix: stm32/usb: Fixed STM32H5 build requiring time feature
A busy loop has been added for when the "time" feature is not enabled.
2025-08-29 10:46:33 -04:00
Dario Nieuwenhuis
f86cf87f2f
Merge pull request #4606 from diondokter/taskmeta-update-2
Taskmeta update
2025-08-29 12:04:29 +00:00
diondokter
e2c34ac735 Add to changelog 2025-08-29 13:58:16 +02:00
diondokter
916dce55ea Fix test & rtos-trace 2025-08-29 13:30:11 +02:00
diondokter
48c2deb8f3 Fix examples 2025-08-29 13:24:53 +02:00
Dario Nieuwenhuis
8aec341f28 executor: return error when creating the spawntoken, not when spawning. 2025-08-29 13:23:21 +02:00
Dario Nieuwenhuis
34ff67cdbf executor: do not deref a mut ptr to the entire taskheader. 2025-08-29 13:22:59 +02:00
Dario Nieuwenhuis
da9cdf0c53 executor: add "task metadata" concept, make name a task metadata. 2025-08-29 13:22:59 +02:00
Dario Nieuwenhuis
2ba34ce217 executor: allow trace and rtos-trace to coexist additively.
Before, enabling `trace` would enable embassy-native tracing, and
enabling *both* would *disable* embassy-native tracing.
2025-08-29 13:22:01 +02:00
Dario Nieuwenhuis
658a52fb99 executor: do not store task IDs in RAM, we can get it from the pointer every time. 2025-08-29 13:20:18 +02:00
Dario Nieuwenhuis
df10e8a6bc
Merge pull request #4602 from meowcakes/fix-stm32h7rs-boot
Fix stm32h7rs init when using external flash via XSPI
2025-08-29 11:09:05 +00:00
Rogan Morrow
5fb4bbfc3e don't save and reset XSPI clock source; let mux config handle it 2025-08-29 17:51:52 +10:00
Rogan Morrow
13fc222ef4 set XSPI clock source to HSI and reset after clock init; dont reset SYSCFG 2025-08-29 16:08:50 +10:00
i509VCB
d3c84ee1d3
Merge pull request #4574 from bespsm/mspm0-wwdt
MSPM0: add window watchdog implementation (WWDT0, WWDT1)
2025-08-28 16:52:44 +00:00
Ulf Lilleengen
fc412837a6
Merge pull request #4598 from 0e4ef622/fix-signal-reset
embassy-sync: Don't drop wakers in Signal::reset
2025-08-28 18:59:03 +02:00
Matthew Tran
fcf659fbe5 embassy-sync: Don't drop wakers in Signal::reset 2025-08-28 10:42:48 -05:00
Ulf Lilleengen
1f945bcebd chore: prepare cyw43-pio release cyw43-v0.5.0 cyw43-pio-v0.8.0 2025-08-28 12:27:14 +02:00
Ulf Lilleengen
a527905be4 fix: version bumps 2025-08-28 12:25:43 +02:00
Ulf Lilleengen
9245a3a991 chore: prepare cyw43 0.5.0 2025-08-28 12:23:39 +02:00
Siarhei B
cdb2354418 msmp0-watchdog: reflect changes in CHANGELOG.md 2025-08-28 10:18:48 +02:00
Siarhei B
0a45a4663c msmp0-watchdog: reorder system initialization 2025-08-28 10:18:36 +02:00
Siarhei B
b618b6bfcd mspm0-watchdog: remove template from watchdog struct 2025-08-28 10:16:03 +02:00
Siarhei B
2eb643bac6 mspm0-watchdog: rename mod watchdog to wwdt 2025-08-28 10:16:03 +02:00
Siarhei B
93ba2c9c95 mspm0-watchdog: add watchdog examples for all chips 2025-08-28 10:15:56 +02:00
Ulf Lilleengen
de095d27fe
Merge pull request #4593 from embassy-rs/prepare-release-4
chore: prepare embassy crate releases
2025-08-27 10:03:13 +02:00
Siarhei B
55eea8b029 mspm0-watchdog: add main implementation 2025-08-27 09:44:49 +02:00