Skip to content

Commit

Permalink
fixup! threads: PoC multicore support for rp2040
Browse files Browse the repository at this point in the history
Fix `riot-rs-bench`
  • Loading branch information
elenaf9 committed Apr 29, 2024
1 parent 6523612 commit bf0d229
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/riot-rs-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ workspace = true
cfg-if = { workspace = true }

[target.'cfg(context = "cortex-m")'.dependencies]
cortex-m = { workspace = true }

[target.'cfg(context = "nrf")'.dependencies]
cortex-m = { workspace = true, features = ["critical-section-single-core"] }

[target.'cfg(context = "rp2040")'.dependencies]
embassy-rp = { workspace = true, features = ["critical-section-impl"] }

0 comments on commit bf0d229

Please sign in to comment.