mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 05:29:38 +01:00
507e132118
It's not needed, since the user has to supply a PAC which will already depend on a suitable cortex-m-rt version. This allows using RTIC v0.5 with either cortex-m-rt 0.6 or 0.7.
121 lines
2.6 KiB
TOML
121 lines
2.6 KiB
TOML
[package]
|
|
authors = [
|
|
"The Real-Time Interrupt-driven Concurrency developers",
|
|
"Jorge Aparicio <jorge@japaric.io>",
|
|
"Per Lindgren <per.lindgren@ltu.se>",
|
|
]
|
|
categories = ["concurrency", "embedded", "no-std"]
|
|
description = "Real-Time Interrupt-driven Concurrency (RTIC): a concurrency framework for building real-time systems"
|
|
documentation = "https://rtic.rs/"
|
|
edition = "2018"
|
|
keywords = ["arm", "cortex-m"]
|
|
license = "MIT OR Apache-2.0"
|
|
name = "cortex-m-rtic"
|
|
readme = "README.md"
|
|
repository = "https://github.com/rtic-rs/cortex-m-rtic"
|
|
version = "0.5.8"
|
|
|
|
[lib]
|
|
name = "rtic"
|
|
|
|
[[example]]
|
|
name = "baseline"
|
|
required-features = ["__v7"]
|
|
|
|
[[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"]
|
|
|
|
[dependencies]
|
|
cortex-m-rtic-macros = { path = "macros", version = "0.5.3" }
|
|
rtic-core = "0.3.0"
|
|
heapless = "0.6.1"
|
|
|
|
[dependencies.cortex-m]
|
|
package = "cortex-m"
|
|
version = "0.6.2"
|
|
optional = true
|
|
|
|
[dependencies.cortex-m-7]
|
|
package = "cortex-m"
|
|
version = "0.7.3"
|
|
optional = true
|
|
|
|
[build-dependencies]
|
|
version_check = "0.9"
|
|
|
|
[dependencies.microamp]
|
|
optional = true
|
|
version = "0.1.0-alpha.2"
|
|
|
|
[dev-dependencies]
|
|
# The difference between this git version and the crates.io version is that this version implements Copy & Clone on Interrupt
|
|
# which is needed for the cortex-m-7 feature (to use InterruptNumber instead of Nr on interrups)
|
|
lm3s6965 = { git = "https://github.com/japaric/lm3s6965.git", version= "0.1.3", rev = "facf63aa0169c773175a143f6014a1d0977fb74f" }
|
|
cortex-m-semihosting = "0.3.3"
|
|
|
|
[dev-dependencies.panic-semihosting]
|
|
features = ["exit"]
|
|
version = "0.5.2"
|
|
|
|
[target.x86_64-unknown-linux-gnu.dev-dependencies]
|
|
trybuild = "1"
|
|
|
|
[features]
|
|
default = ["cortex-m"]
|
|
heterogeneous = ["cortex-m-rtic-macros/heterogeneous", "microamp"]
|
|
homogeneous = ["cortex-m-rtic-macros/homogeneous"]
|
|
# used for testing this crate; do not use in applications
|
|
__v7 =[]
|
|
__min_r1_43 =[]
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
|
|
[workspace]
|
|
members = [
|
|
"heterogeneous",
|
|
"homogeneous",
|
|
"macros",
|
|
]
|
|
|
|
# do not optimize proc-macro deps or build scripts
|
|
[profile.dev.build-override]
|
|
codegen-units = 16
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|
|
|
|
|
|
[profile.release.build-override]
|
|
codegen-units = 16
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|