rtic/Cargo.toml
Jorge Aparicio 9f6247b438 fix git URL
2018-05-17 23:30:14 +02:00

90 lines
1.9 KiB
TOML

[package]
authors = [
"Jorge Aparicio <jorge@japaric.io>",
"Per Lindgren <per.lindgren@ltu.se>",
]
categories = ["concurrency", "embedded", "no-std"]
description = "Real Time For the Masses (RTFM) framework for ARM Cortex-M microcontrollers"
documentation = "https://docs.rs/cortex-m-rtfm"
keywords = ["arm", "cortex-m"]
license = "MIT OR Apache-2.0"
name = "cortex-m-rtfm"
repository = "https://github.com/japaric/cortex-m-rtfm"
version = "0.4.0"
[[example]]
name = "schedule-after"
required-features = ["timer-queue"]
[[example]]
name = "schedule-now"
[[example]]
name = "minimal"
[[example]]
name = "idle"
[[example]]
name = "event-task"
[[example]]
name = "schedule-now-from-event-task"
required-features = ["timer-queue"]
[[example]]
name = "schedule-after-from-event-task"
required-features = ["timer-queue"]
[[example]]
name = "periodic-payload"
required-features = ["timer-queue"]
[[example]]
name = "periodic-preemption-payload"
required-features = ["timer-queue"]
[[example]]
name = "periodic-preemption"
required-features = ["timer-queue"]
[[example]]
name = "periodic"
required-features = ["timer-queue"]
[[example]]
name = "user-struct"
required-features = ["timer-queue"]
[dependencies]
cortex-m = "0.5.0"
cortex-m-rtfm-macros = { path = "macros", version = "0.3.1" }
# heapless = "0.3.6"
heapless = { git = "https://github.com/japaric/heapless", branch = "object-pool" }
typenum = "1.10.0"
[dependencies.stable_deref_trait]
default-features = false
version = "1"
[target.'cfg(target_arch = "x86_64")'.dev-dependencies]
compiletest_rs = "0.3.5"
[dev-dependencies]
cortex-m-rt = "0.5.1"
panic-abort = "0.1.1"
panic-itm = "0.1.1"
panic-semihosting = "0.2.0"
typenum = "1.10.0"
[dev-dependencies.stm32f103xx]
features = ["rt"]
version = "0.10.0"
[features]
cm7-r0p1 = ["cortex-m/cm7-r0p1"]
timer-queue = ["cortex-m-rtfm-macros/timer-queue"]
[profile.release]
lto = true
codegen-units = 1