Skip to content

Commit

Permalink
Add example program for nrf52840
Browse files Browse the repository at this point in the history
  • Loading branch information
diondokter committed Apr 8, 2024
1 parent 4dedc23 commit 81bfcad
Show file tree
Hide file tree
Showing 8 changed files with 1,070 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"rust-analyzer.linkedProjects": [
"Cargo.toml",
"fuzz/Cargo.toml"
"fuzz/Cargo.toml",
"example/Cargo.toml"
]
}
13 changes: 13 additions & 0 deletions example/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace nRF82840_xxAA with your chip as listed in `probe-rs chip list`
runner = "probe-rs run --chip nRF52840_xxAA"

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

[env]
DEFMT_LOG = "trace"

[unstable]
build-std = ["panic_abort", "core"]
build-std-features = ["panic_immediate_abort"]
1 change: 1 addition & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit 81bfcad

Please sign in to comment.