Skip to content

Commit

Permalink
Merge pull request #2 from Ragarnoy/add-xe125-example
Browse files Browse the repository at this point in the history
Create 'xe125' radar module example with SPI adapter
  • Loading branch information
Ragarnoy authored Feb 16, 2024
2 parents 739c63b + f5f37a3 commit 9b0e5bd
Show file tree
Hide file tree
Showing 7 changed files with 1,589 additions and 17 deletions.
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 9b0e5bd

Please sign in to comment.