493 Commits

Author SHA1 Message Date
1-rafael-1
362624ca5f Log current date and time when alarm is triggered 2025-09-15 21:57:49 +02:00
1-rafael-1
ac32f43c3d alarm handling to poll hardware status directly; add ci test 2025-09-15 21:10:22 +02:00
1-rafael-1
6bb3d2c072 Merge branch 'main' into rp2040-rtc-alarm 2025-09-15 20:07:18 +02:00
Dario Nieuwenhuis
92a6fd2946
Merge pull request #4658 from Riceman2000/main
Add example for W55RP20-EVB-Pico
2025-09-15 16:29:17 +00:00
riceman2000
1c080559fd Fix removed comments 2025-09-14 14:14:59 -04:00
riceman2000
daae1fe5c9 Up SPI freq 2025-09-14 11:30:22 -04:00
Matt Johnston
8f10e3638d rp/pio: Add onewire strong pullups, parasite power
DS18B20 sensors require a strong pullup to be applied for the duration
of the temperature conversion, within 10us of the command. The rp2xxx
pins have sufficient drive strength to use as the pullup (no external
mosfet needed).

Add a new write_bytes_pullup() that will apply the pullup after
bytes are written. Existing read_bytes()/write_bytes() has no change to
onewire timing.

A pio_onewire_parasite example reads multiple sensors individually,
applying the strong pullup.
2025-09-14 16:54:14 +08:00
riceman2000
6beb7e35a6 Remove unused imports 2025-09-12 22:56:52 -04:00
riceman2000
139ee90775 Updated example 2025-09-12 17:17:24 -04:00
Riceman2000
f829ddd3b2 Example first draft 2025-09-12 12:47:55 -04:00
Riceman2000
0ea3478fb5 Fix typo in PIO SPI examples 2025-09-12 12:47:47 -04:00
Adrian Wowk
451625ff55 rp: fix pio spi async example 2025-09-05 20:35:48 +02:00
Adrian Wowk
62ff0194f4 rp: add pio spi runtime reconfiguration 2025-09-05 20:35:48 +02:00
Adrian Wowk
83b42e0db6 style: cleanup with rustfmt 2025-09-05 20:35:48 +02:00
Adrian Wowk
236662c748 rp: add pio spi examples 2025-09-05 20:35:48 +02:00
Dario Nieuwenhuis
8aec341f28 executor: return error when creating the spawntoken, not when spawning. 2025-08-29 13:23:21 +02:00
Ulf Lilleengen
1f945bcebd chore: prepare cyw43-pio release 2025-08-28 12:27:14 +02:00
Ulf Lilleengen
a527905be4 fix: version bumps 2025-08-28 12:25:43 +02:00
Ulf Lilleengen
3e8d8fec15 fix: update more minor versions 2025-08-27 08:44:05 +02:00
Ulf Lilleengen
df112a83f0 fix: remaining versions 2025-08-26 22:06:52 +02:00
Ulf Lilleengen
83f2557eac chore: prepare embassy crate releases 2025-08-26 16:05:09 +02:00
Dario Nieuwenhuis
3a6ea3a31c Load all crates in the graph, honor the "publish" flag to prevent publishing examples/tests. 2025-08-25 19:44:50 +02:00
Rob Wells
9c72c684d1
rp: fix blocking I2C example regarding pull-up resistors
This amends the blocking I2C example for embassy-rp.

Commit bbc3e49 added a pull-up configuration and a comment that pull-ups
were not enabled by default. This was made out-of-date by badcdcc, which
ensured pull-ups were enabled by default to make the larger I2C
configuration change non-breaking.

This commit removes the (now-unnecessary) pull-up configuration, and
adds a comment to clarify that the default I2C configuration enables
pull-ups.
2025-08-19 19:27:12 +01:00
erwin
bbc3e49c58 Add configurable internal pullups for rp i2c
- Example updated to demonstrate enabling internal pullups
- Add `sda_pullup` and `scl_pullup` fields to I2C Config
2025-08-18 14:39:18 +02:00
Ulf Lilleengen
c7b9060a74 fix: prepare embassy-sync 0.7.1 release
* Add newtype for moved type to preserve API compat
2025-08-12 21:05:32 +02:00
Ulf Lilleengen
ee053f0bab chore: bump versions 2025-08-04 15:01:08 +02:00
Ulf Lilleengen
9ca44b519a chore: bump nrf and rp hal versions 2025-08-04 14:07:30 +02:00
Dario Nieuwenhuis
78a333d008 Release embassy-embedded-hal v0.4 2025-08-03 00:44:51 +02:00
Ulf Lilleengen
3f1ddaf60e chore: prepare embassy-executor 0.8 release 2025-07-31 10:33:14 +02:00
Oscar Aurin
21566666b8 examples: fix RP2040 link establishing logic 2025-07-27 23:05:59 +02:00
Haobo Gu
f3cc62b77d chore: bump embassy-usb-logger version
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2025-07-22 14:05:17 +08:00
Ulf Lilleengen
1dd8c2a745 chore: Release cyw43-pio version 0.5.1 2025-07-16 15:51:55 +02:00
Ulf Lilleengen
8c087e3641 chore: release embassy-nrf 0.5.0 and embassy-rp 0.6.0 2025-07-16 15:47:37 +02:00
Ulf Lilleengen
c484e7d0e5 chore: Release embassy-usb version 0.5.0 2025-07-16 15:35:47 +02:00
Ulf Lilleengen
386c586afa chore: Release embassy-embedded-hal version 0.3.1 2025-07-16 14:53:02 +02:00
Dario Nieuwenhuis
f525386fca
Merge pull request #4397 from korbin/allocate-numbered-endpoints
Make USB endpoint allocator methods accept an optional `EndpointAddress`
2025-07-15 22:08:08 +00:00
Ulf Lilleengen
f5b9b83cf4 chore: bump cyw43-pio dependency 2025-07-15 11:16:17 +02:00
Ulf Lilleengen
c35d5fb9ce chore: bump cyw43 version 2025-07-15 11:15:19 +02:00
Ulf Lilleengen
9811f1c999 chore: prepare embassy-rp for release 2025-07-15 11:10:56 +02:00
korbin
b666a88ab1
make usb endpoint allocator methods accept an optional EndpointAddress 2025-07-13 20:40:54 -06:00
9names
39c9cbcf49 Minimise profile tweaking in rp examples 2025-06-27 20:15:14 +10:00
Matt Johnston
5e49985ed6 embassy-sync: bump to 0.7.0 2025-05-22 13:29:55 +08:00
1-rafael-1
eb68557460 simplify alarm scheduling logic in RTC example 2025-05-20 15:55:31 +02:00
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
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +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
1-rafael-1
1a12942f53 embassy-rp (rp2040): Rtc wait_for_alarm 2025-05-16 23:22:34 +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