b7d0944265
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>
37 lines
1.6 KiB
TOML
37 lines
1.6 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-rp-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] }
|
|
embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver"] }
|
|
embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] }
|
|
embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "pool-16"] }
|
|
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
|
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.3"
|
|
|
|
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }
|
|
display-interface-spi = "0.4.1"
|
|
embedded-graphics = "0.7.1"
|
|
st7789 = "0.6.1"
|
|
display-interface = "0.4.1"
|
|
byte-slice-cast = { version = "1.2.0", default-features = false }
|
|
|
|
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
|
|
embedded-hal-async = { version = "0.1.0-alpha.1" }
|
|
embedded-io = { version = "0.3.0", features = ["async", "defmt"] }
|
|
static_cell = "1.0.0"
|
|
|
|
[profile.release]
|
|
debug = true
|