2021-12-07 00:31:51 +01:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
|
|
members = [
|
2024-09-11 20:44:10 +02:00
|
|
|
"bootloader",
|
|
|
|
"flashloader",
|
2021-12-07 00:31:51 +01:00
|
|
|
"examples/simple",
|
|
|
|
"va416xx",
|
|
|
|
"va416xx-hal",
|
|
|
|
"vorago-peb1"
|
|
|
|
]
|
2024-09-11 20:44:10 +02:00
|
|
|
exclude = [
|
|
|
|
"flashloader/slot-a-blinky",
|
|
|
|
"flashloader/slot-b-blinky",
|
|
|
|
]
|
2021-12-07 00:31:51 +01:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true # <-
|
|
|
|
incremental = false
|
2024-07-01 10:15:01 +02:00
|
|
|
# This is problematic for stepping..
|
|
|
|
# opt-level = 'z' # <-
|
2021-12-07 00:31:51 +01:00
|
|
|
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 # <-
|
2024-09-11 20:44:10 +02:00
|
|
|
|
|
|
|
[profile.small]
|
|
|
|
inherits = "release"
|
|
|
|
codegen-units = 1
|
|
|
|
debug-assertions = false # <-
|
|
|
|
lto = true
|
|
|
|
opt-level = 'z' # <-
|
|
|
|
overflow-checks = false # <-
|
|
|
|
# strip = true # Automatically strip symbols from the binary.
|