forked from peter9477/none-fault
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* converges rtt deps to endure only rtt-target v0.4.0 is used * builds std to get more debug info * tweaks some profile items
- Loading branch information
1 parent
3b3f774
commit cc96c01
Showing
5 changed files
with
52 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ rustflags = [ | |
# LLVM linker: | ||
"-C", "link-arg=-Map=build.map", | ||
] | ||
|
||
[unstable] | ||
build-std = ["core", "alloc"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
set -euxo pipefail | ||
|
||
cargo build | ||
cargo objcopy -- -O ihex none-fault.hex | ||
sleep 1 | ||
probe-rs download --chip nrf52840 --format hex none-fault.hex | ||
sleep 1 | ||
probe-rs reset --chip nrf52840 | ||
RTT=$(grep _SEGGER_RTT$ build.map | cut -d' ' -f1); echo $RTT >.rttlast | ||
rtthost --chip nrf52840 --scan-region 0x$RTT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters