Skip to content

Commit

Permalink
Switch to probe-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckeogh committed Feb 6, 2024
1 parent 90d5120 commit 4438373
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
target = "thumbv6m-none-eabi"

[target.thumbv6m-none-eabi]
runner = "probe-run --chip STM32F030F4Px"
runner = "probe-rs run --chip STM32F030F4Px"

[env]
DEFMT_LOG = "trace"
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["zy12pdn", "fusb302b", "usb-pd"]
resolver = "2"

[profile.release]
opt-level = "z"
opt-level = "s" # better than z
lto = "fat"
codegen-units = 1
debug = true
Expand Down

0 comments on commit 4438373

Please sign in to comment.