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

49 lines
955 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]
cortex-m = "0.6.4"
cortex-m-rt = "0.6.13"
dk = { path = "../../boards/dk", features = ["beginner"] }
2020-06-22 13:23:59 +00:00
heapless = "0.5.5"
2021-04-08 09:27:00 +00:00
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
defmt = "0.2.0"
defmt-rtt = "0.2.0"
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]
2021-04-14 10:14:41 +00:00
# set defmt logging levels here
2021-04-08 09:27:00 +00:00
default = [
"defmt-default",
# "dependency-a/defmt-trace",
]
# do NOT modify these features
defmt-default = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []