9617 Commits

Author SHA1 Message Date
Ronald Weber
7a2f038800 doc: Fix "the the" 2025-02-19 17:29:21 +01:00
Dario Nieuwenhuis
a1e75841f8
Merge pull request #3797 from stargazing-dino/add-channel-stream
Add stream impl for embassy-sync Channels
2025-02-19 15:46:45 +01:00
Dario Nieuwenhuis
fcee67a0d2
Merge pull request #3901 from CBJamo/rp23_testing
Inital rp23 ci tests
2025-02-19 14:48:01 +01:00
Caleb Jamison
28e2789aeb
Forgot to actually skip the adc test.
It worked once, which is very surprising.
2025-02-18 22:17:49 -05:00
Dario Nieuwenhuis
f3b98a8748
Merge pull request #3865 from embassy-rs/pio2
rp/pio: update pio-rs, reexport, move instr methods to SM.
2025-02-18 22:02:20 +01:00
Dario Nieuwenhuis
52dfefb632 rp/pio: update pio-rs crate, reexport it so users don't get version mismatches. 2025-02-18 18:14:57 +01:00
Dario Nieuwenhuis
dcf0868dd0 rp: remove typo'd feature that was doing nothing. 2025-02-18 18:14:35 +01:00
Dario Nieuwenhuis
e3edd671b6 rp/pio: move instructions to methods of the SM. 2025-02-18 18:14:35 +01:00
Caleb Jamison
f1e6b70279
rustfmt again 2025-02-18 10:39:58 -05:00
Caleb Jamison
52f64827be
rustfmt fixup 2025-02-18 10:38:19 -05:00
Caleb Jamison
9e785438ee
Inital rp23 ci tests
Some tests need more work.
* The adc test builds, but isn't set up correctly for the 2350 hardware
  yet.
* The multicore and gpio_multicore tests only work from flash,
  seems to be a probe-rs issue.
* The i2c and flash tests also only works from flash, these are probably
  bugs but I don't have time to run them down now.
* The 2350 gpio test skips anything with pull downs. I think these fail
  because of E9.

The float, bootsel, cyw43, and ethernet tests don't have 2350 equivalents.
There's no reason to use the float romfuncs, use the FPU.
Bootsel as a button isn't supported on the 2350 yet.
The wifi and eth tests don't have appropriate hardware.

The i2c test has also been tweaked to run on one core.
2025-02-18 10:32:20 -05:00
Dario Nieuwenhuis
1780f8479e
Merge pull request #3878 from showier-drastic/i2c-v2-add-nack
stm32: i2c-v2: Add error handling
2025-02-17 19:52:41 +01:00
Dario Nieuwenhuis
1fa874ef07
Merge pull request #3896 from embassy-rs/update-nightly-234
Update Rust nightly.
2025-02-17 18:39:14 +01:00
Dario Nieuwenhuis
89b5efc900 Update cargo-batch. 2025-02-17 17:57:50 +01:00
Dario Nieuwenhuis
489abb1f8f Update Rust nightly. 2025-02-17 17:41:17 +01:00
Dario Nieuwenhuis
ac6e8d0ad9
Merge pull request #3895 from embassy-rs/rust-update-184
Update to Rust 1.84
2025-02-17 17:40:53 +01:00
Dario Nieuwenhuis
5050b2fe88 Update to Rust 1.84 2025-02-17 16:52:29 +01:00
Dario Nieuwenhuis
f6b480ef1c
Merge pull request #3894 from Flamenco/patch-1
Fix function name
2025-02-17 13:29:59 +00:00
Flamenco
6f795d976c
Update control.rs
Fix function name
2025-02-17 08:15:09 -05:00
Dario Nieuwenhuis
fbdd2e7a77
Merge pull request #3892 from mkj/pr/otg-outbuf
otg: Allow exact out buffer size
2025-02-17 10:56:57 +00:00
Matt Johnston
5d6877cbc6 otg: Allow exact out buffer size
The existing check required N+1 buffer size.
2025-02-17 13:38:31 +08:00
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
Shaw Drastin
1c1aea62d0 stm32: i2c-v2: Add error handling
Currently when error occurres, we have to wait for timeout, which is
less than ideal. Enable related interrupts, and return Err when error
occurres.
2025-02-12 21:16:18 +08: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