aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <[email protected]>2022-09-28 01:20:04 -0700
committerJeremy Fitzhardinge <[email protected]>2022-10-01 13:43:37 -0700
commit5e2c52ee5b6fcc5b50589fd2590657e3f1083bff (patch)
tree90dd2a95bc276bed26bb2574deaed75891178e76 /examples
parent72b645b0c96c7b8312d0a64f851e807faacd78af (diff)
embassy-rp: async i2c implementation
This is an interrupt-driven async i2c master implementation. It makes as best use of the RP2040's i2c block's fifos as possible to minimize interrupts. It implements embedded_hal_async::i2c for easy interop. WIP async impl
Diffstat (limited to 'examples')
-rw-r--r--examples/rp/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml
index 3c8f923e7..e689df6bd 100644
--- a/examples/rp/Cargo.toml
+++ b/examples/rp/Cargo.toml
@@ -30,3 +30,6 @@ embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
30embedded-hal-async = { version = "0.1.0-alpha.1" } 30embedded-hal-async = { version = "0.1.0-alpha.1" }
31embedded-io = { version = "0.3.0", features = ["async", "defmt"] } 31embedded-io = { version = "0.3.0", features = ["async", "defmt"] }
32static_cell = "1.0.0" 32static_cell = "1.0.0"
33
34[profile.release]
35debug = true