323 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
3ad9b73dd5
Merge pull request #4193 from embediver/pio-i2s-bit-depth-config
embassy-rp: Make bit-depth of I2S PIO program configurable
2025-05-18 21:20:24 +02:00
Dario Nieuwenhuis
e4fc487644 Add rand-core v0.9 support.
Co-Authored-By: Aurélien Jacobs <aurel@gnuage.org>
2025-05-18 20:35:36 +02:00
Ralph Ursprung
117eb45fa0
add the possibility to document bind_interrupts structs
the `bind_interrupts` macro creates a `struct` for the interrupts. it
was so far not possible to document those (except for STM32) and there
was no generic documentation being generated/added either, thus the
`missing_docs` lint was triggered for consumers which enabled it.

with this change it is now possible to manually add a comment on the
`struct` being defined in the macro invocation.

to show that this works one RP example has been modified accordingly.
2025-05-15 18:27:40 +02:00
Dario Nieuwenhuis
5a19b64fec
Merge pull request #4187 from 1-rafael-1/rp235x-overclocking
RP235x overclocking
2025-05-13 21:45:22 +00:00
Marvin Gudel
fd9ed3924c Fix example 2025-05-13 22:49:35 +02:00
1-rafael-1
abafbed0d5 remove Debug2Fmt from examples 2025-05-12 21:43:17 +02:00
1-rafael-1
79e452922a Add ClockError enum and update system_freq to return Result for error handling 2025-05-12 21:33:47 +02:00
1-rafael-1
4567beda7b rp235x overclocking 2025-05-11 17:26:36 +02:00
Ulf Lilleengen
f9f20ae217
Merge pull request #4155 from marcemmers/remove-instance-from-rp-uart-type
[embassy-rp] Remove <T: Instance> from Uart and BufferedUart
2025-05-09 19:34:52 +02:00
1-rafael-1
a254daf4ff Changes after review 2025-05-07 21:19:09 +02:00
1-rafael-1
3441e80507 first batch of changes after review 2025-05-02 23:51:28 +02:00
Marc
8f3b6643b3 And another fix, should be the last failing example 2025-05-02 14:36:08 +02:00
Marc
1efe59ec47 Update examples and tests 2025-05-02 12:52:04 +02:00
1-rafael-1
22b5f73811 add manual overclock example, finalize API, cleanup 2025-05-01 00:11:56 +02:00
1-rafael-1
77e8bc9b28 refactoring to have higher and lower level api 2025-04-29 22:49:05 +02:00
1-rafael-1
3a6dc910ff first working draft 2025-04-28 22:54:15 +02:00
1-rafael-1
b0594d16f2 Add overclock example for RP2040 with 200 MHz clock configuration 2025-04-26 22:55:24 +02:00
Marc
cd27a8a06b Updated the pio onewire example 2025-04-25 01:14:47 +02:00
Matt Johnston
6a6e421652 rp: i2c-slave example: fix twice-swapped sda/scl
sda and scl were swapped twice. The code worked, but would be confusing
trying to interface with pins externally.
2025-04-15 17:44:50 +08:00
1-rafael-1
642740b8cb update WiFi credentials to placeholders 2025-04-13 22:33:10 +02:00
JuliDi
608fe44a43
remove incompatible device classes and protocol from RP webusb example 2025-04-11 13:57:41 +02:00
Michael Gomez
f1feedf190 BufferedUart initialization
This change modifies UART initialization throughout Embassy to take pins
before interrupts.

Related to #1304.
2025-04-04 21:54:36 -07:00
Dario Nieuwenhuis
d41eeeae79 Remove Peripheral trait, rename PeripheralRef->Peri. 2025-03-27 15:18:06 +01:00
eden barby
24941212e8 Added access to the byte swap flag for RP2*** chips for the PIO state machine DMA calls. 2025-03-01 17:23:04 +10: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
skkeye
9b178facc9 fix: update example 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
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
92fa653672
Merge pull request #3701 from 1-rafael-1/improve-orchestrate-example
Improve orchestrate_tasks example: shared state and better documentation
2025-01-07 22:06:29 +01:00
lonesometraveler
3aca615025 Fix broken link to WIZnet W5500-EVB-Pico 2025-01-02 10:28:29 -05:00
1-rafael-1
463a3346de fmt 2024-12-31 16:01:09 +01:00
1-rafael-1
6efd6a457f fmt 2024-12-31 15:58:57 +01:00
1-rafael-1
e6001e66f8 Improve orchestrate_tasks example with shared state and better documentation
Add mutex-protected shared system state
Improve task coordination and signaling
Add more documentation
2024-12-31 15:54:42 +01:00
Bailey Townsend
8243a8a389 Added new param to examples and created a pico plus 2 w example 2024-12-28 00:07:14 -06:00
Eekle
a3d35216d4 Remove manual settings of composite_with_iads=true 2024-12-24 13:23:08 +01:00
Dániel Buga
1c485f18a2
Remove bluetooth example and trouble dependencies 2024-12-22 20:27:15 +01:00
Dario Nieuwenhuis
f7a1f5bf56
Merge pull request #3024 from bsodmike/fix_rp_wifi_example
Update RP Wifi Scan Example: Remove code that isn't used by the example (minor cleanup)
2024-12-02 23:51:13 +00:00
Michael de Silva
52ac74982d Remove code that isn't used by the example 2024-12-03 00:45:35 +01:00
Dario Nieuwenhuis
a5ee98c402
Merge pull request #3600 from embassy-rs/patch-1
Add set_config method to RP SPI driver (rebased #3419)
2024-12-02 23:37:57 +00:00
Dario Nieuwenhuis
0138bc5dd8 examples/rp: update sdmmc. 2024-12-03 00:31:36 +01:00
rafael
ed10b9de7b formatting 2024-12-02 23:52:03 +01:00
rafael
ccf2e0c528 formatting 2024-12-02 23:52:03 +01:00
rafael
7538233616 correct rp pwm dutycycle examples: desired frequency 2024-12-02 23:52:03 +01:00
Georges Palauqui
9d21e3a1ae fix fmt 2024-11-05 19:40:49 +01:00
Georges Palauqui
fb004fb6e2 add second example fo SPI display on RP 2024-11-05 18:54:04 +01:00
Ulf Lilleengen
5b07507709
Merge pull request #3467 from Georges760/upd-ex-spi-display
Update example spi_display for RP/RP23 to use mipidsi instead of ST7789 crate
2024-11-05 16:37:35 +00:00
Bjorn
333d858481 Added ReceiverHandler to logger 2024-10-31 22:51:03 -07:00
Georges Palauqui
66205fdd85 update spi_display example for rp 2024-10-27 09:50:57 +01:00
Brad Gibson
66822f1000
update path to cyw43 firmware in wifi_blinky.rs comments 2024-10-22 05:29:11 -07:00