embassy/examples/rp/src/bin
bors[bot] b7d0944265
Merge #984 #1006
984: rp pico async i2c implementation r=Dirbaio a=jsgf

This implements an interrupt-driven async i2c master. It is based on https://github.com/embassy-rs/embassy/pull/914, a bit of https://github.com/embassy-rs/embassy/pull/978 and `@ithinuel's` https://github.com/ithinuel/rp2040-async-i2c.git

This is still work-in-progress, and is currently untested.

1006: Removes some of the code duplication for UarteWithIdle r=Dirbaio a=huntc

This PR removes some of the code duplications for `UarteWithIdle` at the slight expense of requiring a split when using idle processing. As the nRF example illustrates though given the LoC removed, this expense seems worth the benefit in terms of maintenance, and the avoidance of copying over methods. My main motivation for this PR was actually due to the `event_endtx` method not having been copied across to the idle-related code.

Tested the uart_idle example on my nRF52840-dk, and from within my app. Both appear to work fine.

Co-authored-by: Jeremy Fitzhardinge <jeremy@goop.org>
Co-authored-by: huntc <huntchr@gmail.com>
2022-10-12 19:41:52 +00:00
..
blinky.rs Split embassy-time from embassy-executor. 2022-08-18 01:22:30 +02:00
button.rs Split embassy-time from embassy-executor. 2022-08-18 01:22:30 +02:00
gpio_async.rs Split embassy-time from embassy-executor. 2022-08-18 01:22:30 +02:00
i2c_async.rs embassy-rp i2c: async (non-blocking) example 2022-10-01 13:43:37 -07:00
i2c_blocking.rs update embedded-hal api 2022-10-01 01:34:45 -07:00
spi_async.rs Cleanup examples 2022-09-01 15:12:44 +02:00
spi_display.rs Update embedded-hal versions and explicitly pin 2022-09-29 11:27:46 +02:00
spi.rs Cleanup examples 2022-09-01 15:12:44 +02:00
uart.rs Fix uart rp2040 blocking example 2022-08-19 08:48:52 +02:00
usb_ethernet.rs usb: move classes into the embassy-usb crate. 2022-09-26 13:00:21 +02:00
usb_serial.rs usb: move classes into the embassy-usb crate. 2022-09-26 13:00:21 +02:00