[package]
authors = [
  "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 = "app"
repository = "https://github.com/japaric/cortex-m-rtfm"
version = "0.1.0"

[dependencies]
cortex-m-rtfm = "0.2.2"
cortex-m = "0.3.1"
rtfm-core = "0.1.0"
cortex-m-semihosting = "0.2.0"

[dependencies.cortex-m-debug]
version = "0.1.0"
git = "https://gitlab.henriktjader.com/pln/cortex-m-debug.git"

[dependencies.cortex-m-rt]
features = ["abort-on-panic"]
version = "0.3.3"

[dependencies.stm32f40x]
git = "https://gitlab.henriktjader.com/pln/STM32F40x.git"
features = ["rt"]
version = "0.2.0"

[dependencies.f4]
git = "https://github.com/jsjolund/f4"
version = "0.1.0"

[dependencies.heapless]
git = "https://github.com/japaric/heapless.git"
version = "0.2.1"

[dependencies.nb]
git = "https://github.com/japaric/nb.git"
version = "0.1.1"

[features]
wcet_bkpt = [] 
wcet_nop = [] 

[profile.release]
lto = true
debug = true

[profile.dev]
codegen-units = 1
incremental = false