embassy/examples
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
..
boot all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
nrf Merge #984 #1006 2022-10-12 19:41:52 +00:00
nrf-rtos-trace all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
rp Merge #984 #1006 2022-10-12 19:41:52 +00:00
std all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f0 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f1 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f2 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f3 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32f4 Merge #1004 2022-10-10 06:28:41 +00:00
stm32f7 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32g0 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32g4 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32h7 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l0 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l1 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l4 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32l5 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32u5 all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32wb all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
stm32wl all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00
wasm all Cargo.toml: Add license to all crate Cargo.toml files 2022-10-07 12:41:56 +02:00