mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-10 16:25:37 +00:00
ec03653be4
to ensure we use versions that don't have debuginfo issues which break probe-run backtraces
33 lines
675 B
TOML
33 lines
675 B
TOML
[package]
|
|
authors = ["Jorge Aparicio <jorge.aparicio@ferrous-systems.com>"]
|
|
edition = "2018"
|
|
license = "MIT OR Apache-2.0"
|
|
name = "apps"
|
|
version = "0.0.0"
|
|
|
|
[dependencies]
|
|
cortex-m = "0.6.4"
|
|
cortex-m-rt = "0.6.13"
|
|
dk = { path = "../../boards/dk", features = ["beginner"] }
|
|
heapless = "0.5.5"
|
|
log = "0.4.8"
|
|
panic-log = { path = "../../common/panic-log" }
|
|
|
|
# optimize code in both profiles
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 1
|
|
debug-assertions = true # !
|
|
incremental = false
|
|
lto = "fat"
|
|
opt-level = 'z' # !
|
|
overflow-checks = false
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 1
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = "fat"
|
|
opt-level = 3
|
|
overflow-checks = false
|