846 Commits

Author SHA1 Message Date
1-rafael-1
37fd802f96 Update CHANGELOG.md 2025-09-15 20:15:57 +02:00
1-rafael-1
6bb3d2c072 Merge branch 'main' into rp2040-rtc-alarm 2025-09-15 20:07:18 +02: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
Dario Nieuwenhuis
46bf0c71cc
Merge pull request #4210 from mcaveniathor/pio_i2s_rx
Add PioI2sIn, PioI2sInProgram, and example binary
2025-09-05 19:08:06 +00:00
Thor McAvenia
241129c569 Add PioI2sIn, PioI2sInProgram, and example binary 2025-09-05 21:01:37 +02:00
Adrian Wowk
815ba8aa75 rp: read pio gpiobase in set_pins and set_pin_dirs 2025-09-05 20:41:07 +02:00
Adrian Wowk
5137306575 rp: move pio pin configs after set_config
This is needed for the program to work correctly on rp235xb when using
the higher pin numbers.
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
4cac3ac1d2 rp: add new pio spi program
This commit adds a new PIO program which implements SPI. This allows
you to drive more than 2 SPI buses by using PIO state machines as
additional duplex SPI interfaces.

The driver supports both blocking and async modes of operation and
exclusively uses the DMA for async IO.
2025-09-05 20:35:48 +02:00
Adrian Wowk
676f9da583 rp: add new pio dma apis
This commit adds StateMachineRx::dma_pull_repeated and
StateMachineTx::dma_push_repeated which allow you to discard reads or
send dummy writes to the state machine using the DMA hardware
2025-09-05 20:35:48 +02:00
Dario Nieuwenhuis
581594d1f5
Merge pull request #4496 from variegated-coffee/psram
feat(embassy-rp): RP2350 - Add support for QMI CS1, and for APS6404L PSRAM
2025-09-05 13:45:00 +00:00
Dario Nieuwenhuis
8aec341f28 executor: return error when creating the spawntoken, not when spawning. 2025-08-29 13:23:21 +02:00
Ulf Lilleengen
3e8d8fec15 fix: update more minor versions 2025-08-27 08:44:05 +02:00
Ulf Lilleengen
83f2557eac chore: prepare embassy crate releases 2025-08-26 16:05:09 +02:00
Dario Nieuwenhuis
9f12852c38 Read crate configs from metadata. 2025-08-25 19:44:50 +02:00
Ulf Lilleengen
6a347f1f09 feat: add semver checks and releasing to releaser
* List dependencies of a crate
* List dependents of a crate
* Perform semver-checks of a crate
* Prepare a release for a crate and all dependents
* Use a single release.toml for cargo-release
* Add changelogs where missing
2025-08-25 19:44:49 +02:00
erwin
badcdcc24c change default internal pullup state to be active to make this change nonbreaking 2025-08-19 12:14:48 +02:00
erwin
e2794a2706 add entry to the changelog 2025-08-18 14:47:46 +02: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
Magnus Nordlander
88934c42d3 Gate ARM-specific assembly using cfg 2025-08-05 12:52:20 +02:00
Magnus Nordlander
1e91833118 Apply rustfmt 2025-08-05 09:58:33 +02:00
Magnus Nordlander
8965a13da4 Interface changes and added example 2025-08-05 09:56:09 +02:00
Magnus Nordlander
6d38e8b306 Remove regs since it doesn’t really make sense to return the QMI peripheral from QMI CS1. 2025-08-05 09:34:09 +02:00
Ulf Lilleengen
206cf0e451 fix: add missing entries in changelog 2025-08-04 14:20:55 +02:00
Ulf Lilleengen
bcc904c187 chore: Release embassy-rp version 0.7.0 2025-08-04 14:09:25 +02:00
Phirks
65bab430a6 removed the rp2040 flag from the dormant function 2025-08-03 08:37:58 -04:00
Dario Nieuwenhuis
78a333d008 Release embassy-embedded-hal v0.4 2025-08-03 00:44:51 +02:00
Magnus Nordlander
af6b74ad5a Apply rustfmt 2025-08-02 18:45:56 +02:00
Magnus Nordlander
d4f469576f Added support for QMI CS1, and for APS6404L PSRAM on the RP2350 2025-08-02 18:36:42 +02:00
Elliot Sayes
1652d9269e Add IRQ StatusSource for _rp235x 2025-08-02 17:26:42 +04:00
Ulf Lilleengen
0eceb08b90 fix: do full minor version bump for time queue utils 2025-08-01 21:42:23 +02:00
Ulf Lilleengen
3f1ddaf60e chore: prepare embassy-executor 0.8 release 2025-07-31 10:33:14 +02:00
Dario Nieuwenhuis
5b8340bdc4
Merge pull request #4296 from adamNewell/fix-rp2350-stack-guard-rlar
Embassy RP: RP235x Fix MPU region enablement in stack guard installation
2025-07-24 21:53:32 +00:00
Dario Nieuwenhuis
c361c82c41
Merge pull request #4449 from rursprung/add-debug-and-defmt-for-rp-gpio
add missing `Debug` and `defmt::Format` derives for `embassy_rp::gpio`
2025-07-23 15:12:11 +00:00
Ralph Ursprung
978a007baf
add missing Debug and defmt::Format derives for embassy_rp::gpio 2025-07-23 16:56:34 +02:00
clubby789
2be8be0747 Use unsafe block in IRQ handlers 2025-07-20 20:25:26 +01:00
Ralph Ursprung
0180c80676
add derive(Debug) for embassy_rp::i2c::I2c 2025-07-16 16:59:55 +02:00
Ulf Lilleengen
3a7a2720b1 chore: Release embassy-rp version 0.6.0 2025-07-16 15:48:56 +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
6f2f469c56 chore: Release embassy-usb-driver version 0.2.0 2025-07-16 15:43:05 +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
f32e8f6025 release: embassy-usb-driver 0.1.1 2025-07-15 21:41:41 +02:00
Ulf Lilleengen
e4f500eb19 chore: Release embassy-rp version 0.5.0 2025-07-15 11:13:35 +02:00
Ulf Lilleengen
64e1a806fa chore: update to embassy-hal-internal v0.3.0 2025-07-14 11:46:47 +02:00
korbin
b666a88ab1
make usb endpoint allocator methods accept an optional EndpointAddress 2025-07-13 20:40:54 -06:00
Ralph Ursprung
22e77cb675
embassy-rp: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:05:51 +02:00
Ralph Ursprung
74101a8625
prepare changelog for embassy-rp v0.5.0 2025-07-08 23:05:50 +02:00