2021-12-07 00:31:51 +01:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
2024-07-05 13:40:58 +02:00
|
|
|
members = [
|
2024-07-04 15:23:49 +02:00
|
|
|
"bootloader",
|
2024-09-11 18:55:15 +02:00
|
|
|
"flashloader",
|
|
|
|
"examples/simple",
|
2021-12-07 00:31:51 +01:00
|
|
|
"va416xx",
|
|
|
|
"va416xx-hal",
|
|
|
|
"vorago-peb1"
|
|
|
|
]
|
2024-09-11 18:55:15 +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-07-04 15:23:49 +02:00
|
|
|
|
|
|
|
[profile.small]
|
|
|
|
inherits = "release"
|
|
|
|
codegen-units = 1
|
|
|
|
debug-assertions = false # <-
|
|
|
|
lto = true
|
|
|
|
opt-level = 'z' # <-
|
|
|
|
overflow-checks = false # <-
|
2024-09-11 18:55:15 +02:00
|
|
|
# strip = true # Automatically strip symbols from the binary.
|