embedded-trainings-2020/beginner/apps/Cargo.toml

48 lines
966 B
TOML
Raw Normal View History

2020-06-09 09:52:27 +00:00
[package]
authors = ["Jorge Aparicio <jorge.aparicio@ferrous-systems.com>"]
edition = "2018"
2020-07-10 09:09:33 +00:00
license = "MIT OR Apache-2.0"
2020-06-09 09:52:27 +00:00
name = "apps"
2020-07-10 09:09:33 +00:00
version = "0.0.0"
2020-06-09 09:52:27 +00:00
[dependencies]
2022-12-06 17:03:22 +00:00
cortex-m = {version = "0.7.6", features = ["critical-section-single-core"]}
cortex-m-rt = "0.7.2"
dk = { path = "../../boards/dk", features = ["beginner"] }
2022-12-06 17:03:22 +00:00
heapless = "0.7.16"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
2022-12-06 17:03:22 +00:00
defmt = "0.3.2"
defmt-rtt = "0.3.2"
2020-06-09 09:52:27 +00:00
# optimize code in both profiles
[profile.dev]
codegen-units = 1
2021-04-08 12:16:26 +00:00
debug = 2
2020-06-09 09:52:27 +00:00
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
2021-04-08 09:27:00 +00:00
[features]
2022-12-06 14:13:20 +00:00
2021-04-08 09:27:00 +00:00
default = [
2022-12-06 14:13:20 +00:00
"other-feature"
2021-04-08 09:27:00 +00:00
]
2022-12-06 14:13:20 +00:00
other-feature = []
2021-04-08 09:27:00 +00:00
# do NOT modify these features
defmt-default = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []