Skip to content

Commit

Permalink
Build profile optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Nov 3, 2024
1 parent 72dfba1 commit fe3dcbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ upload = "flash --chip STM32F303K8Tx"
# https://doc.rust-lang.org/nightly/rustc/platform-support/thumbv7em-none-eabi.html
target = "thumbv7em-none-eabihf"

[profile.dev]
opt-level = "s"
debug = "none"
strip = "debuginfo"

[target.thumbv7em-none-eabihf]
# https://probe.rs/docs/tools/probe-rs/#run
runner = "probe-rs run --chip STM32F303K8Tx"
Expand Down

0 comments on commit fe3dcbd

Please sign in to comment.