mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
a452700628
This commit: - Implements RFC 147: "all functions must be safe" - Implements RFC 155: "explicit Context parameter" - Implements the pending breaking change #141: reject assign syntax in `init` (which was used to initialize late resources) - Refactors code generation to make it more readable -- there are no more random identifiers in the output -- and align it with the book description of RTFM internals. - Makes the framework hard depend on `core::mem::MaybeUninit` and thus will require nightly until that API is stabilized. - Fixes a ceiling analysis bug where the priority of the system timer was not considered in the analysis. - Shrinks the size of all the internal queues by turning `AtomicUsize` indices into `AtomicU8`s. - Removes the integration with `owned_singleton`.
70 lines
No EOL
1.5 KiB
TOML
70 lines
No EOL
1.5 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): a concurrency framework for building real time systems"
|
|
documentation = "https://japaric.github.io/cortex-m-rtfm/book/en"
|
|
edition = "2018"
|
|
keywords = ["arm", "cortex-m"]
|
|
license = "MIT OR Apache-2.0"
|
|
name = "cortex-m-rtfm"
|
|
readme = "README.md"
|
|
repository = "https://github.com/japaric/cortex-m-rtfm"
|
|
version = "0.5.0-alpha.1"
|
|
|
|
[lib]
|
|
name = "rtfm"
|
|
|
|
[[example]]
|
|
name = "baseline"
|
|
required-features = ["timer-queue"]
|
|
|
|
[[example]]
|
|
name = "periodic"
|
|
required-features = ["timer-queue"]
|
|
|
|
[[example]]
|
|
name = "schedule"
|
|
required-features = ["timer-queue"]
|
|
|
|
[[example]]
|
|
name = "types"
|
|
required-features = ["timer-queue"]
|
|
|
|
[dependencies]
|
|
cortex-m = "0.5.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"
|
|
|
|
[dev-dependencies]
|
|
cortex-m-semihosting = "0.3.2"
|
|
lm3s6965 = "0.1.3"
|
|
panic-halt = "0.2.0"
|
|
|
|
[dev-dependencies.panic-semihosting]
|
|
features = ["exit"]
|
|
version = "0.5.1"
|
|
|
|
[features]
|
|
nightly = ["cortex-m-rtfm-macros/nightly", "heapless/const-fn"]
|
|
timer-queue = ["cortex-m-rtfm-macros/timer-queue"]
|
|
|
|
[target.x86_64-unknown-linux-gnu.dev-dependencies]
|
|
compiletest_rs = "0.3.21"
|
|
tempdir = "0.3.7"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["timer-queue"]
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
|
|
[workspace]
|
|
members = ["macros"] |