mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
book: indirection for faster message passing
This commit is contained in:
parent
485601245b
commit
ccd7f4586b
5 changed files with 128 additions and 3 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -25,6 +25,12 @@ required-features = ["timer-queue"]
|
|||
name = "periodic"
|
||||
required-features = ["timer-queue"]
|
||||
|
||||
[[example]]
|
||||
name = "pool"
|
||||
# this example doesn't need this feature but only works on ARMv7-M
|
||||
# specifying the feature here avoids compiling this for ARMv6-M
|
||||
required-features = ["timer-queue"]
|
||||
|
||||
[[example]]
|
||||
name = "schedule"
|
||||
required-features = ["timer-queue"]
|
||||
|
|
@ -39,8 +45,8 @@ cortex-m-rt = "0.6.7"
|
|||
cortex-m-rtfm-macros = { path = "macros", version = "0.5.0-alpha.1" }
|
||||
|
||||
[dependencies.heapless]
|
||||
features = ["smaller-atomics"]
|
||||
version = "0.4.1"
|
||||
features = ["smaller-atomics", "min-const-fn"]
|
||||
version = "0.4.3"
|
||||
|
||||
[dev-dependencies]
|
||||
cortex-m-semihosting = "0.3.2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue