Skip to content

Commit

Permalink
examples: add simple software task example
Browse files Browse the repository at this point in the history
While we do have a dedicated repo for RTIC examples, it makes more sense
to merge those too with this repo: cargo-rtic-scope, cortem-m-rtic-trace
and relevant examples are all interlinked and must be in phase with
eachother.

However, we can't add it to the workspace yet because
per-package-target[0] is not yet stable.

[0] rust-lang/cargo#9406
  • Loading branch information
tmplt committed Nov 1, 2021
1 parent 95e9c89 commit da9f60d
Show file tree
Hide file tree
Showing 6 changed files with 734 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[target.thumbv7em-none-eabihf]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "linker=arm-none-eabi-ld",
]

[build]
target = "thumbv7em-none-eabihf"
1 change: 1 addition & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
Loading

0 comments on commit da9f60d

Please sign in to comment.