Skip to content

Commit

Permalink
Merge branch 'Ragarnoy:main' into conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
noahbliss authored Feb 16, 2024
2 parents 294a81d + 9b0e5bd commit 8dcb5a8
Show file tree
Hide file tree
Showing 6 changed files with 1,572 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ spin = "0.9.8"
[build-dependencies]
bindgen = "0.69"
cc = "1.0"

[profile.dev]
lto = true
codegen-units = 1

[profile.release]
debug = 2
codegen-units = 1
19 changes: 19 additions & 0 deletions examples/xe125/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-rs run --chip STM32L431CBYx --chip-erase --connect-under-reset --verify"

[target.thumbv7em-none-eabihf]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tdefmt.x",
]

[build]
target = "thumbv7em-none-eabihf"

[env]
DEFMT_LOG = "trace"

[net]
git-fetch-with-cli = true

Loading

0 comments on commit 8dcb5a8

Please sign in to comment.