2021-11-02 20:30:08 +01:00
|
|
|
[workspace]
|
2024-06-16 16:16:45 +02:00
|
|
|
resolver = "2"
|
2021-11-02 20:30:08 +01:00
|
|
|
members = [
|
2021-12-17 10:35:49 +01:00
|
|
|
"vorago-reb1",
|
2021-12-06 16:06:01 +01:00
|
|
|
"va108xx",
|
2021-12-12 13:56:25 +01:00
|
|
|
"va108xx-hal",
|
2024-06-16 16:16:45 +02:00
|
|
|
"examples/simple",
|
2024-09-18 15:07:29 +02:00
|
|
|
"examples/rtic",
|
|
|
|
"examples/embassy",
|
2024-06-16 16:16:45 +02:00
|
|
|
"board-tests",
|
2024-09-18 15:07:29 +02:00
|
|
|
"bootloader",
|
2024-06-16 16:16:45 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
exclude = [
|
|
|
|
"defmt-testapp",
|
2021-11-06 17:16:12 +01:00
|
|
|
]
|
|
|
|
|
2021-11-06 17:16:45 +01:00
|
|
|
[profile.dev]
|
2024-06-16 16:16:45 +02:00
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true # <-
|
|
|
|
incremental = false
|
2024-09-18 15:07:29 +02:00
|
|
|
# This is problematic for stepping..
|
|
|
|
# opt-level = 'z' # <-
|
2024-06-16 16:16:45 +02:00
|
|
|
overflow-checks = true # <-
|
2021-11-06 17:16:45 +01:00
|
|
|
|
2024-06-16 16:16:45 +02:00
|
|
|
# cargo build/run --release
|
2021-11-06 17:16:12 +01:00
|
|
|
[profile.release]
|
2024-06-16 16:16:45 +02:00
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false # <-
|
|
|
|
incremental = false
|
|
|
|
lto = 'fat'
|
|
|
|
opt-level = 3 # <-
|
|
|
|
overflow-checks = false # <-
|
2024-09-18 15:07:29 +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.
|