aboutsummaryrefslogtreecommitdiff
path: root/examples/rp2040_local_i2c_init/Cargo.toml
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2024-06-23 08:45:49 +0200
committerGitHub <noreply@github.com>2024-06-23 06:45:49 +0000
commit918f9c3f13a75d6d01f283702353ebc31bf36c69 (patch)
treeab3211474731fffee997e7a01ded708d88421133 /examples/rp2040_local_i2c_init/Cargo.toml
parent9aeae030e7834d164172d5d1d811cb4cbd16253c (diff)
Breaking change: portable-atomic (#922)
* Atomics: Replace polyfill with portable-atomic * Update Cargo.lock for examples * RTIC: portable-atomic: Update changelog * rtic-monotonics: portable-atomic: Update changelog * lm3s6965: enable critical-section when testing * xtask: Enable portable-atomic/critical-section When dealing with rtic-monotonics * rtic-monotonics: portable-atomics: Do not disable the ability to fallback --------- Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'examples/rp2040_local_i2c_init/Cargo.toml')
-rw-r--r--examples/rp2040_local_i2c_init/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rp2040_local_i2c_init/Cargo.toml b/examples/rp2040_local_i2c_init/Cargo.toml
index 2f893dc..986977d 100644
--- a/examples/rp2040_local_i2c_init/Cargo.toml
+++ b/examples/rp2040_local_i2c_init/Cargo.toml
@@ -24,6 +24,7 @@ embedded-hal = { version = "0.2.7", features = ["unproven"] }
fugit = "0.3"
rp-pico = "0.9.0"
panic-probe = "0.3"
+portable-atomic = { version = "1", features = ["critical-section"] }
[profile.dev]
opt-level = 1