Robin Mueller
9c01c10d74
All checks were successful
Rust/va416xx-rs/pipeline/head This commit looks good
44 lines
1.0 KiB
TOML
44 lines
1.0 KiB
TOML
[package]
|
|
name = "slot-b-blinky"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
cortex-m-rt = "0.7"
|
|
va416xx-hal = { path = "../../va416xx-hal", features = ["va41630"] }
|
|
panic-rtt-target = { version = "0.1.3" }
|
|
rtt-target = { version = "0.5" }
|
|
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
|
|
embedded-hal = "1"
|
|
va416xx-hal = { path = "../../va416xx-hal", features = ["va41630"] }
|
|
|
|
[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.
|