Commit Graph

8757 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
afd8a86962
Merge pull request #3359 from NZRosto/main
Correctly gate `time` feature of embassy-embedded-hal in embassy-stm32
2024-09-21 01:11:41 +00:00
Reed
3328c5d656
Correctly gate time feature of embassy-embedded-hal in embassy-stm32 2024-09-21 12:31:38 +12:00
Dario Nieuwenhuis
3020bf3662
Merge pull request #3355 from Gerharddc/main
embassy_stm32/eth: support compliance testing
2024-09-20 13:47:25 +00:00
Gerhard de Clercq
5ea934d4ba embassy_stm32/eth: support compliance testing
This change adds the possibility to perform compliance testing with
STM32 systems by directly exposing SMI when needed. Users can
then use this to configure PHY registers for test modes.
2024-09-20 09:57:31 +02:00
Peter Krull
3aeeeb0d78 stm32: Start DMA before clearing, avoid panic in updater ringbuffer impl 2024-09-19 20:07:08 +02:00
Peter Krull
4fcc8e39d6 stm32: Only check errors on running RingBufferedUartRx, reduce number of small one-time functions 2024-09-19 19:21:34 +02:00
Peter Krull
2a9cdaabaa stm32: Moved comment to match request_stop 2024-09-19 18:25:08 +02:00
Peter Krull
907d55ea82 stm32: Added request_pause to DMA, and use it for RingBufferedUartRx 2024-09-19 18:14:09 +02:00
Ulf Lilleengen
d7780fcf83
Merge pull request #3354 from mammothbane/main
embassy_sync/pubsub: fix PubSubBehavior visibility
2024-09-19 12:55:50 +00:00
Nathan Perry
893b8d79e8 embassy_sync/pubsub: fix PubSubBehavior visibility
https://github.com/embassy-rs/embassy/pull/2969 appears to have broken
direct `publish_immediate()` on `pubsub::Channel`, as it functionally
made `PubSubBehavior` private and didn't delegate this method to the new
(private) `SealedPubSubBehavior`.

This change moves `publish_immediate`, `capacity`, and `is_full` from
`SealedPubSubBehavior` to `PubSubBehavior` in order to restore them to
`pub` visibility.
2024-09-19 08:44:45 -04:00
Ulf Lilleengen
cdb44f1272
Merge pull request #3349 from embassy-rs/e-b-introduce-reverted-magic
Add revert state in embassy-boot
2024-09-19 07:24:33 +00:00
Ulf Lilleengen
4e1efd93fd Fix defmt support for example boot app 2024-09-19 09:22:47 +02:00
Ulf Lilleengen
df23a77bfc Add led to example to demonstrate revert state detection 2024-09-19 09:16:19 +02:00
Ulf Lilleengen
ab0a227e4c Ensure bootloader state is parsed correctly 2024-09-19 09:16:19 +02:00
Ulf Lilleengen
b1897c58fa Add revert state in embassy-boot
The revert state signals that a firmware revert has taken place,
allowing the application to know if a firmware update attempt was
reverted.
2024-09-19 09:16:19 +02:00
Dario Nieuwenhuis
45cbcb513d
Merge pull request #3350 from embassy-rs/net-fixes2
net: add all combinations of wait methods for link/config up/down.
2024-09-18 19:51:37 +00:00
Dario Nieuwenhuis
bee53af36a net: add all combinations of wait methods for link/config up/down. 2024-09-18 21:37:42 +02:00
Dario Nieuwenhuis
60f93b42e2 net-esp-hosted: set wpa3_supported=true.
I've noticed wpa3 still works without this flag, so I'm not sure what this does tbh...
2024-09-18 21:24:50 +02:00
Dario Nieuwenhuis
a406a01459 net-esp-hosted: remove useless fn init. 2024-09-18 21:24:35 +02:00
Dario Nieuwenhuis
d12e98aaf4
Merge pull request #3338 from ionspin/add-rp2350-trng-support
RP2350 TRNG support
2024-09-17 22:17:23 +00:00
Dario Nieuwenhuis
e597c6b959
Merge pull request #3332 from CBJamo/rp2350_pio_pins
rp: rp2350 pio pin fixes
2024-09-17 22:15:37 +00:00
Ugljesa Jovanovic
2bc49763c6
TRNG support for 235x 2024-09-17 21:26:59 +02:00
Dario Nieuwenhuis
cc9e2a51da
Merge pull request #3345 from CBJamo/rp2350_clock_padiso
rp23: Disable pad isolation on clock in/out pins
2024-09-17 19:17:31 +00:00
Dario Nieuwenhuis
303bcc4c16
Merge pull request #3347 from kalkyl/pio-onewire
rp: Add PIO example for one-wire temperature sensor
2024-09-17 19:17:16 +00:00
kalkyl
0bfc98a3e5 rp: Add PIO example for one-wire temperature sensor 2024-09-17 19:41:58 +02:00
Dario Nieuwenhuis
74ad31466b
Merge pull request #3341 from shilga/tx-only-uart
rp: add constructor for tx-only blocking UART
2024-09-16 20:51:12 +00:00
kingofpayne
6d89f2729a
boot: flash-erase-zero (#3344)
Allow compatibility with devices whose flash erase set bytes to 0x00
instead of 0xFF, using a new flash-erase-zero feature.
See issue #3342.
2024-09-16 22:07:56 +02:00
Dario Nieuwenhuis
ae8caf3f55
Merge pull request #3314 from elagil/add_iso_endpoint_support
Add ISO endpoint support
2024-09-16 19:51:52 +00:00
Dario Nieuwenhuis
e90b3bc449
Merge pull request #3329 from embassy-rs/net-deinit
net: refactor to simplify lifetimes/generics.
2024-09-16 19:40:22 +00:00
Dario Nieuwenhuis
73aa40a9b9 Disable nrf52840 hil tests. 2024-09-16 21:27:34 +02:00
Dario Nieuwenhuis
be0d9775e3 net: refactor to simplify lifetimes/generics. 2024-09-16 21:17:11 +02:00
Caleb Jamison
2855e65cc6 Disable pad isolation on clock in/out pins 2024-09-16 13:26:24 -04:00
Caleb Jamison
d1508cc49c oops 2024-09-16 13:07:16 -04:00
Caleb Jamison
8b34c94ef3 Improve error message when pin groups are not allowed 2024-09-16 13:02:35 -04:00
Caleb Jamison
6e0c3e25fd Only check ping groups that have count >0 2024-09-16 12:58:23 -04:00
Caleb Jamison
9cfde66446 Move pin isolation config to make_pio_pin 2024-09-16 12:47:34 -04:00
Caleb Jamison
48fd0550d1 Review fixes
Don't overflow on subtract
Replace giant match with for loop
dedupe register write
2024-09-16 12:41:12 -04:00
Sebastian Quilitz
313e76af04 rp: add constructor for tx-only blocking UART 2024-09-16 12:27:17 +02:00
Ulf Lilleengen
a23f56b3dd
Merge pull request #3340 from kingofpayne/fix-3339
fix(boot): return signature error when no features
2024-09-16 10:17:22 +00:00
Olivier Hériveaux
8519e54461 fix(boot): return signature error when no features
Always return signature error in verify_and_mark_updated when no
signature features are enabled.
2024-09-16 11:54:40 +02:00
Caleb Jamison
55c3da5a4f Properly drop pins >30 2024-09-15 20:48:54 -04:00
Caleb Jamison
ed6cbc7a3a Fix upper bound of case where pins should be <=31 2024-09-15 20:09:18 -04:00
Caleb Jamison
e359b24121 remove debug print 2024-09-12 11:50:36 -04:00
Caleb Jamison
823a82adb7 Fixup formatting to work with log 2024-09-12 11:43:15 -04:00
Caleb Jamison
eeda57a424 rp2350 pio pin fixes
Disable pad isolation on any used pin.
Use GPIOBASE and offset pin bases if all pins are > 16, panic if some
pins are < 16 and some are > 31
2024-09-12 11:37:17 -04:00
Caleb Jamison
3d6a270f30
rp: Fix indexing for pins >31 on rp235xb (#3330)
* Fix indexing for pins >31 on rp235xb

* fixup knowing that 1<<7 is 128 not 64
2024-09-12 01:44:11 +02:00
Ulf Lilleengen
7648d42b7f
Merge pull request #3328 from Ddystopia/main
fix: `select_slice` is unsound.
2024-09-11 09:09:44 +00:00
Oleksandr Babak
29932c295c
fix: select_slice is unsound. fixes #3320 2024-09-11 10:46:28 +02:00
Ulf Lilleengen
dc98d865ff
Merge pull request #3327 from phycrax/docs-add-rustybits-video
docs: Add a link to [From Zero to Async in Embedded Rust] in resources
2024-09-11 07:08:10 +00:00
Süha Ünüvar
833537231e
add link to rustybits zero to async video in resources section 2024-09-11 12:50:46 +08:00