Skip to content

Commit

Permalink
firmware: hello world nrf (SlimeVR#48)
Browse files Browse the repository at this point in the history
* hello world nrf

* Fixed up the readme and linker script
  • Loading branch information
TheButlah authored Nov 8, 2022
1 parent fa465e5 commit a6d17a3
Show file tree
Hide file tree
Showing 11 changed files with 538 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Cargo stuff
/target
**/target

# OS-specific stuff
.DS_Store
Expand Down
15 changes: 7 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[workspace]
members = [
"autoupdater",
"overlay/app",
"overlay/tokio_shutdown",
"skeletal_model",
"testing-jig",
# "firmware",
"autoupdater",
"overlay/app",
"overlay/tokio_shutdown",
"skeletal_model",
"testing-jig",
# "firmware",
]
exclude = ["firmware"]

exclude = ["nrf_demo", "firmware"]

resolver = "2"
15 changes: 15 additions & 0 deletions nrf_demo/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[target.thumbv7em-none-eabihf]

rustflags = [
"-C",
"link-arg=--nmagic",
"-C",
"link-arg=-Tlink.x",
"-C",
"link-arg=-Tdefmt.x",
"-C",
"linker=flip-link", # Requires you to `cargo install flip-link`
]

[build]
target = "thumbv7em-none-eabihf"
2 changes: 2 additions & 0 deletions nrf_demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.uf2
*.bin
Loading

0 comments on commit a6d17a3

Please sign in to comment.