9594 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
897d42e012
Merge pull request #3880 from nikvoid/stm32-rtc-subsecond
STM32: RTC subsecond support
2025-02-16 23:22:50 +00:00
Dario Nieuwenhuis
0453f7ddb2
Merge pull request #3888 from Fredrik-Reinholdsen/main
fix: Fix for async I2C v2 driver sequential read/write reads. Fixes #3887
2025-02-16 23:07:10 +00:00
Dario Nieuwenhuis
d01a299321
Merge pull request #3890 from 9names/imagedef-feature
rp: add ImageDef features
2025-02-16 22:47:08 +00:00
Dario Nieuwenhuis
a785bd09fc
Merge pull request #3889 from 9names/rp23-runner-probers
Use probe-rs as default runner for rp23 examples
2025-02-16 22:43:59 +00:00
9names
9495ec8ae4 Don't try to run doc-example for imagedef-none 2025-02-16 15:50:21 +11:00
9names
6b1706434d Remove ImageDef from rp23 examples 2025-02-16 15:43:08 +11:00
9names
4cc5ab9474 Add rp235x imagedef features (based on rp2040 boot2 features)
rp235x firmwares need an Image Definition if they want to be called
from the rp235x bootrom.

Currently this Image Definition is manually added to each project/example,
but for most users it will always be the default (Secure Exe).

This commit adds crate features to allow users to configure this, with the
default of including a Secure Exe Image Definition in.
Just like the boot2-* features, this includes an opt-out (imagedef-none)
to allow the user to not make use of this included Image Definition.
2025-02-16 15:43:01 +11:00
9names
cb4fb66424 Use probe-rs as default runner for rp23 examples 2025-02-16 13:08:10 +11:00
Fredrik Reinholdsen
7f4cce536a fix: Fix for async I2C v2 driver sequential read/write reads. Fixes #3887
For I2C devices that support variable length reads, sending chunks of data as long as the master keeps ACK:ing after each received byte, sequential reads will sometimes get out of sync, causing additional reads to return invalid data.

This was caused by a delay between awaiting the DMA read and sending the software STOP signal, which may result in the slave to have time to send a byte of data in between, causing potential miss-alignment. This would then cause subsequent reads to return invalid data.

Async write-reads now no longer send STOP after the initial write, matching the behaviour of the blocking version.
2025-02-15 12:06:49 +01:00
Dario Nieuwenhuis
0ce6da9706
Merge pull request #3886 from embassy-rs/cyw43-update
tests/rp: Update cyw43 test to new firmware, new wifi network name.
2025-02-14 21:52:34 +00:00
Dario Nieuwenhuis
b30ee6380b tests/rp: Update cyw43 test to new firmware, new wifi network name. 2025-02-14 22:30:33 +01:00
Dario Nieuwenhuis
3926a0be71
Merge pull request #3885 from Skkeye/main
fix: embassy-net icmp feature docs
2025-02-14 18:56:47 +01:00
Skkeye
2098500e05
fix: embassy-net icmp feature docs 2025-02-14 12:48:53 -05:00
Ulf Lilleengen
29d05328f9 chore: prepare embassy-net release 2025-02-14 06:54:09 +01:00
nikvoid
610804f138 stm32: read microsecond from RTC 2025-02-13 15:15:47 +02:00
skkeye
9b178facc9 fix: update example 2025-02-13 10:27:30 +01:00
skkeye
7b35265465 feat: Feature match udp sockets
fix: fixed compile proto-ipv4/v6 edge cases in the ping module
2025-02-13 10:27:30 +01:00
skkeye
7d2ffa76e5 fix: forgot fmt 2025-02-13 10:27:30 +01:00
skkeye
6d7a5f949c feat: configurable rate_limit for the ping utility 2025-02-13 10:27:30 +01:00
skkeye
bdb1b81213 fix: nightly fmt 2025-02-13 10:27:30 +01:00
skkeye
38b5f8bd0a examples/rp: add examples using ICMP sockets and the ping utility 2025-02-13 10:27:30 +01:00
skkeye
74c1fd64d2 embassy-net: add ICMP sockets and a ping utility 2025-02-13 10:27:30 +01:00
Ulf Lilleengen
f54ba5a48e docs: fix esp wording and mention trouble
Fixes #3831
2025-02-13 09:38:09 +01:00
Dario Nieuwenhuis
712143b81f
Merge pull request #3877 from Abestanis/feature/watchdog_reason
Expose the watchdog reset reason
2025-02-12 13:38:07 +01:00
Sebastian Scholz
787606b991
Expose the watchdog reset reason 2025-02-12 13:22:43 +01:00
Dario Nieuwenhuis
05bbb99603
Merge pull request #3870 from kkrolczyk/kk/mostly-docu-changes-and-examples-fix
dfu documentation update, fix a couple issues
2025-02-11 12:22:24 +01:00
Dario Nieuwenhuis
76fb3a54f3
Merge pull request #3869 from owenbrooks/docs_typos
Fix small typos in docs
2025-02-11 12:19:32 +01:00
Krzysztof Królczyk
01b7ff8ff0
fix: layer-by-layer examples
closes: #3794 #3793

Remove 'blinky-irq' from workspace.
During linking from workspace level - embassy-stm32 and example code redefine EXTI15_10 symbol
Building it separately, outside of workspace works

Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2025-02-11 10:08:47 +01:00
Krzysztof Królczyk
e173db1151
doc: add docu strings for dfu
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2025-02-11 10:08:47 +01:00
Krzysztof Królczyk
4b809af905
fix: #3760 - typo in docs
Signed-off-by: Krzysztof Królczyk <Krzysztof.Krolczyk@o2.pl>
2025-02-11 10:08:47 +01:00
Owen Brooks
74c42fd9d0 Fix typos in docs 2025-02-11 19:58:34 +11:00
Dario Nieuwenhuis
f09277b2a3
Merge pull request #3858 from elagil/ucpd_logic_fix
Fix UCPD drop logic
2025-02-10 19:00:46 +01:00
Dario Nieuwenhuis
c291e9258e
Merge pull request #3866 from MaximeB5/main
STM32 - Update Cargo.toml : replace STM32WBA52CGU by STM32WBA55CG
2025-02-10 18:42:57 +01:00
Max
e5d0d40829
Update Cargo.toml : replace STM32WBA52CGU by STM32WBA55CG
Following PR https://github.com/embassy-rs/embassy/pull/3852 , I forgot to update the dependency.

The WBA55 Nucleo board officially replaces the WBA52.
Even if WBA52 SoC is still part of the ST CubeFW, the SW connectivity projects for WBA52 are no longer delivered.
WBA55 Nucleo board is now the reference entry board.
2025-02-10 08:14:15 +01:00
Dario Nieuwenhuis
bcebe4c4d5
Merge pull request #3861 from Flamenco/patch-1
Update documentation
2025-02-08 22:42:52 +01:00
Dario Nieuwenhuis
080942c6a5
Merge pull request #3860 from bugadani/docs
Document std/wasm in embassy-time
2025-02-08 22:42:32 +01:00
Flamenco
b9508bf2cb
Update documentation
Update comment to specify the correct rp chip identifier
2025-02-08 14:28:36 -05:00
Dániel Buga
bb6e6fe30b
Document std/wasm in embassy-time 2025-02-08 19:06:37 +01:00
elagil
38799c63fd fix: UCPD drop logic
Read rxpaysz immediately
2025-02-07 23:31:02 +01:00
Dario Nieuwenhuis
3b734a7d08
Merge pull request #3857 from swork/swork-add-pio-functions
Add PIO functions.
2025-02-07 20:28:07 +01:00
Steve Work
3b74732f40 Rename readers with get_, per CBJamo review. Tweak use_program docstring.
The tweak arranges that "grep sideset" finds use_program() when grokking source - this spelling is used
elsewhere, as in PinConfig for example, and I managed to miss use_program.
2025-02-07 09:26:34 -08:00
Dario Nieuwenhuis
f2a6014cd3
Merge pull request #3844 from showier-drastic/main
SpiDevice cancel safety: always set CS pin to high on drop
2025-02-07 13:54:14 +01:00
Shaw Drastin
dc2ce92e32 Add proper error handling if CS is not dropped 2025-02-07 10:39:08 +08:00
Steve Work
9acbfc9c22 Add PIO functions.
Add some (I think) needed functions:
ConfigPins::set_sideset_pins (the other pin types are covered, why not this one?)
Several runtime StateMachine manipulations:
 - addr()
 - tx_threshold()
 - set_tx_threshold
 - rx_threshold()
 - set_rx_threshold()
 - set_thresholds() - both at once, same value
2025-02-06 17:46:04 -08:00
Dario Nieuwenhuis
4e69e5b3c7 rp: add changelog for embassy-rp v0.3.1. 2025-02-06 00:10:50 +01:00
Dario Nieuwenhuis
5c00d4b0b6
Merge pull request #3853 from embassy-rs/rp-remove-workaround
examples/rp: remove unneeded sio spinlock stuck bug workarounds.
2025-02-05 23:05:26 +00:00
Dario Nieuwenhuis
66c5fe0a75 examples/rp: remove unneeded sio spinlock stuck bug workarounds.
This is now workarounded by embassy-rp itself.
2025-02-06 00:02:52 +01:00
Dario Nieuwenhuis
0fe288879b
Merge pull request #3852 from MaximeB5/patch-1
Replace STM32WBA52CGUxT by STM32WBA55CGUx
2025-02-05 20:45:26 +00:00
Max
401aa725ed
Replace STM32WBA52CGUxT by STM32WBA55CGUx because the WBA55 Nucleo board officially replaces the WBA52 2025-02-05 16:04:59 +01:00
Dario Nieuwenhuis
556cc57c1f
Merge pull request #3851 from embassy-rs/rp23-atomics-fix
rp235x: fix atomics, fix SIO spinlock stuck bug, fix missing core1 reset.
2025-02-05 00:06:41 +00:00