Robin Mueller
acb8b67ae7
All checks were successful
Rust/va108xx-rs/pipeline/pr-main This commit looks good
- Add embassy example - improve timer API - restructure examples - restructure and improve SPI - Add REB1 M95M01 NVM module
45 lines
820 B
TOML
45 lines
820 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"vorago-reb1",
|
|
"va108xx",
|
|
"va108xx-hal",
|
|
"examples/simple",
|
|
"examples/rtic",
|
|
"examples/embassy",
|
|
"board-tests",
|
|
"bootloader",
|
|
]
|
|
|
|
exclude = [
|
|
"defmt-testapp",
|
|
]
|
|
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true # <-
|
|
incremental = false
|
|
# This is problematic for stepping..
|
|
# opt-level = 'z' # <-
|
|
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 # <-
|
|
|
|
[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.
|