mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-24 12:42:52 +01:00
69 lines
1.3 KiB
TOML
69 lines
1.3 KiB
TOML
|
[package]
|
||
|
name = "firmware"
|
||
|
edition = "2018"
|
||
|
version = "0.1.0"
|
||
|
|
||
|
[dependencies]
|
||
|
actors = { path = "../actors" }
|
||
|
cortex-m = "0.7.1"
|
||
|
cortex-m-rt = "0.6.13"
|
||
|
cortex-m-rtic = { path = "../.." }
|
||
|
defmt = "0.2.0"
|
||
|
defmt-rtt = "0.2.0"
|
||
|
nrf52840-hal = "0.12.2"
|
||
|
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
|
||
|
rtic-actor-traits = { path = "../../actor-traits" }
|
||
|
systick-monotonic = "0.1.0-alpha.0"
|
||
|
|
||
|
[features]
|
||
|
# set logging levels here
|
||
|
default = [
|
||
|
"defmt-default",
|
||
|
# "dependency-a/defmt-trace",
|
||
|
]
|
||
|
|
||
|
# do NOT modify these features
|
||
|
defmt-default = []
|
||
|
defmt-trace = []
|
||
|
defmt-debug = []
|
||
|
defmt-info = []
|
||
|
defmt-warn = []
|
||
|
defmt-error = []
|
||
|
|
||
|
# cargo build/run
|
||
|
[profile.dev]
|
||
|
codegen-units = 1
|
||
|
debug = 2
|
||
|
debug-assertions = true # <-
|
||
|
incremental = false
|
||
|
opt-level = 3 # <-
|
||
|
overflow-checks = true # <-
|
||
|
|
||
|
# cargo test
|
||
|
[profile.test]
|
||
|
codegen-units = 1
|
||
|
debug = 2
|
||
|
debug-assertions = true # <-
|
||
|
incremental = false
|
||
|
opt-level = 3 # <-
|
||
|
overflow-checks = true # <-
|
||
|
|
||
|
# cargo build/run --release
|
||
|
[profile.release]
|
||
|
codegen-units = 1
|
||
|
debug = 2
|
||
|
debug-assertions = false # <-
|
||
|
incremental = false
|
||
|
lto = 'fat'
|
||
|
opt-level = 3 # <-
|
||
|
overflow-checks = false # <-
|
||
|
|
||
|
# cargo test --release
|
||
|
[profile.bench]
|
||
|
codegen-units = 1
|
||
|
debug = 2
|
||
|
debug-assertions = false # <-
|
||
|
incremental = false
|
||
|
lto = 'fat'
|
||
|
opt-level = 3 # <-
|
||
|
overflow-checks = false # <-
|