mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
GHA update
Fmt fixes Spawn_after did not work with parameters Examples working again Revert "GHA update" This reverts commit e0a71d4859966a6c5cf2629d3cb27e88acada9c0. Readd flags Only add DWT based dep with __v7 flag
This commit is contained in:
parent
670cdb92d3
commit
cd3484cbab
8 changed files with 143 additions and 70 deletions
42
Cargo.toml
42
Cargo.toml
|
|
@ -18,6 +18,38 @@ version = "0.6.0-alpha.0"
|
|||
[lib]
|
||||
name = "rtic"
|
||||
|
||||
[[example]]
|
||||
name = "periodic"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[[example]]
|
||||
name = "pool"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[[example]]
|
||||
name = "schedule"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[[example]]
|
||||
name = "t-cfg"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[[example]]
|
||||
name = "t-cfg-resources"
|
||||
required-features = ["__min_r1_43"]
|
||||
|
||||
[[example]]
|
||||
name = "t-schedule"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[[example]]
|
||||
name = "types"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[[example]]
|
||||
name = "double_schedule"
|
||||
required-features = ["__v7"]
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7.0"
|
||||
cortex-m-rtic-macros = { path = "macros", version = "0.6.0-alpha.0" }
|
||||
|
|
@ -27,6 +59,11 @@ rtic-monotonic = { git = "https://github.com/rtic-rs/rtic-monotonic", branch = "
|
|||
heapless = "0.5.0"
|
||||
bare-metal = "1.0.0"
|
||||
|
||||
[dependencies.dwt-systick-monotonic]
|
||||
git = "https://github.com/rtic-rs/dwt-systick-monotonic"
|
||||
branch = "master"
|
||||
optional = true
|
||||
|
||||
[build-dependencies]
|
||||
version_check = "0.9"
|
||||
|
||||
|
|
@ -42,6 +79,11 @@ version = "0.5.2"
|
|||
[target.x86_64-unknown-linux-gnu.dev-dependencies]
|
||||
trybuild = "1"
|
||||
|
||||
[features]
|
||||
# used for testing this crate; do not use in applications
|
||||
__v7 = ["dwt-systick-monotonic"]
|
||||
__min_r1_43 = []
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue