Skip to content

Commit

Permalink
feat!: move to async using embassy mutexes
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanie committed Mar 8, 2024
1 parent df3a5f2 commit 7cc66a2
Show file tree
Hide file tree
Showing 4 changed files with 953 additions and 821 deletions.
16 changes: 11 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://git.sr.ht/~chmanie/max11300"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["cs"]
cs = ["critical-section"]

[dependencies]
embedded-hal = "0.2.7"
heapless = "0.7.10"
seq-macro = "0.3.0"
critical-section = { version = "1.1", optional = true }
embedded-hal-async = "1.0"
embedded-hal = "1.0"
heapless = "0.8"
seq-macro = "0.3"
embassy-sync = "0.5"

[dev-dependencies]
embedded-hal-mock = "0.8.0"
embedded-hal-mock = { version = "0.10", features = ["eh1", "embedded-hal-async"] }
tokio = { version = "1.36", features = ["full"] }
Loading

0 comments on commit 7cc66a2

Please sign in to comment.