2017-03-05 06:26:14 +01:00
|
|
|
[package]
|
2017-04-21 07:24:54 +02:00
|
|
|
authors = [
|
|
|
|
"Jorge Aparicio <jorge@japaric.io>",
|
|
|
|
"Per Lindgren <per.lindgren@ltu.se>",
|
|
|
|
]
|
2017-04-27 22:37:27 +02:00
|
|
|
categories = ["concurrency", "embedded", "no-std"]
|
2017-07-29 07:34:00 +02:00
|
|
|
description = "Real Time For the Masses (RTFM) framework for ARM Cortex-M microcontrollers"
|
2017-04-27 22:37:27 +02:00
|
|
|
documentation = "https://docs.rs/cortex-m-rtfm"
|
|
|
|
keywords = ["arm", "cortex-m"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2017-04-21 07:24:54 +02:00
|
|
|
name = "cortex-m-rtfm"
|
2017-04-27 22:37:27 +02:00
|
|
|
repository = "https://github.com/japaric/cortex-m-rtfm"
|
2018-05-14 21:22:50 +02:00
|
|
|
version = "0.4.0"
|
2017-04-10 05:42:17 +02:00
|
|
|
|
2018-05-01 15:29:13 +02:00
|
|
|
[[example]]
|
2018-05-14 21:22:50 +02:00
|
|
|
name = "schedule-after"
|
2018-05-01 15:29:13 +02:00
|
|
|
required-features = ["timer-queue"]
|
|
|
|
|
|
|
|
[[example]]
|
2018-05-14 21:22:50 +02:00
|
|
|
name = "schedule-now"
|
2018-05-01 15:29:13 +02:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "empty"
|
|
|
|
|
|
|
|
[[example]]
|
2018-05-14 21:22:50 +02:00
|
|
|
name = "event-task"
|
2018-05-01 15:29:13 +02:00
|
|
|
|
2018-05-01 15:33:01 +02:00
|
|
|
[[example]]
|
2018-05-14 21:22:50 +02:00
|
|
|
name = "schedule-now-from-event-task"
|
2018-05-01 15:33:01 +02:00
|
|
|
required-features = ["timer-queue"]
|
|
|
|
|
|
|
|
[[example]]
|
2018-05-14 21:22:50 +02:00
|
|
|
name = "schedule-after-from-event-task"
|
2018-05-01 15:33:01 +02:00
|
|
|
required-features = ["timer-queue"]
|
|
|
|
|
2018-05-01 15:29:13 +02:00
|
|
|
[[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"]
|
|
|
|
|
2018-05-07 17:46:26 +02:00
|
|
|
[[example]]
|
|
|
|
name = "user-struct"
|
|
|
|
required-features = ["timer-queue"]
|
|
|
|
|
2017-03-12 17:19:43 +01:00
|
|
|
[dependencies]
|
2018-05-14 21:22:50 +02:00
|
|
|
cortex-m = "0.5.0"
|
2018-04-16 23:33:55 +02:00
|
|
|
cortex-m-rtfm-macros = { path = "macros", version = "0.3.1" }
|
2018-05-04 10:59:23 +02:00
|
|
|
heapless = "0.3.6"
|
2018-04-29 08:45:31 +02:00
|
|
|
typenum = "1.10.0"
|
2017-07-18 22:14:39 +02:00
|
|
|
|
2017-07-21 05:53:44 +02:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dev-dependencies]
|
2018-01-11 16:03:41 +01:00
|
|
|
compiletest_rs = "0.3.5"
|
2017-07-21 05:53:44 +02:00
|
|
|
|
2018-04-19 18:38:12 +02:00
|
|
|
[dev-dependencies]
|
2018-05-14 21:22:50 +02:00
|
|
|
cortex-m-rt = "0.5.1"
|
2018-04-19 18:38:12 +02:00
|
|
|
panic-abort = "0.1.1"
|
2018-05-14 21:22:50 +02:00
|
|
|
panic-itm = "0.1.1"
|
|
|
|
panic-semihosting = "0.2.0"
|
2018-05-01 14:01:51 +02:00
|
|
|
typenum = "1.10.0"
|
2017-07-21 05:53:44 +02:00
|
|
|
|
|
|
|
[dev-dependencies.stm32f103xx]
|
|
|
|
features = ["rt"]
|
2018-05-14 21:22:50 +02:00
|
|
|
version = "0.10.0"
|
2017-07-21 05:53:44 +02:00
|
|
|
|
2017-12-23 21:34:24 +01:00
|
|
|
[features]
|
|
|
|
cm7-r0p1 = ["cortex-m/cm7-r0p1"]
|
2018-05-01 15:29:13 +02:00
|
|
|
timer-queue = ["cortex-m-rtfm-macros/timer-queue"]
|
2017-12-23 21:34:24 +01:00
|
|
|
|
2017-07-21 05:53:44 +02:00
|
|
|
[profile.release]
|
2018-05-07 18:34:20 +02:00
|
|
|
lto = true
|
2018-05-07 22:05:19 +02:00
|
|
|
codegen-units = 1
|