Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Try #334:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] committed Jul 26, 2022
2 parents bcaf997 + 2b902d5 commit cc8c992
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 4,430 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased]

- [#334] Simplify hardware in the loop tests
- [#331] Refactor stack painting
- [#330] Fix `fn round_up`
- [#329] Update probe-rs to 0.13.0 (does not yet implement 64-bit support)
Expand All @@ -18,6 +19,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- [#314] Clarify documentation in README
- [#293] Update snapshot tests to new TRACE output

[#334]: https://github.com/knurling-rs/probe-run/pull/334
[#331]: https://github.com/knurling-rs/probe-run/pull/331
[#330]: https://github.com/knurling-rs/probe-run/pull/330
[#329]: https://github.com/knurling-rs/probe-run/pull/329
Expand Down
Expand Up @@ -5,27 +5,27 @@ expression: run_result.output
---
(HOST) DEBUG vector table: VectorTable { initial_stack_pointer: 2003fbc8, hard_fault: 15b1 }
(HOST) DEBUG RAM region: 0x20000000-0x2003FFFF
(HOST) DEBUG section `.data` is in RAM at 0x2003FBC8 ..= 0x2003FBF7
(HOST) DEBUG section `.bss` is in RAM at 0x2003FBF8 ..= 0x2003FBFF
(HOST) DEBUG section `.uninit` is in RAM at 0x2003FC00 ..= 0x2003FFFF
(HOST) DEBUG valid SP range: 0x20000000 ..= 0x2003FBC7
(HOST) DEBUG section `.data` is in RAM at 0x2003FBC8..=0x2003FBF7
(HOST) DEBUG section `.bss` is in RAM at 0x2003FBF8..=0x2003FBFF
(HOST) DEBUG section `.uninit` is in RAM at 0x2003FC00..=0x2003FFFF
(HOST) DEBUG valid SP range: 0x20000000..=0x2003FBC4
(HOST) DEBUG found 1 probes
(HOST) DEBUG opened probe
(HOST) DEBUG started session
(HOST) INFO flashing program (2 pages / 8.00 KiB)
(HOST) DEBUG Erased sector of size 4096 bytes in 149 ms
(HOST) DEBUG Erased sector of size 4096 bytes in 113 ms
(HOST) DEBUG Programmed page of size 4096 bytes in 96 ms
(HOST) DEBUG Programmed page of size 4096 bytes in 80 ms
(HOST) DEBUG Erased sector of size 4096 bytes in 139 ms
(HOST) DEBUG Erased sector of size 4096 bytes in 104 ms
(HOST) DEBUG Programmed page of size 4096 bytes in 106 ms
(HOST) DEBUG Programmed page of size 4096 bytes in 72 ms
(HOST) INFO success!
(HOST) DEBUG 261062 bytes of stack available (0x20000000 ..= 0x2003FBC7), using 1024 byte canary
(HOST) TRACE setting up canary took 0.011s (91.54 KiB/s)
(HOST) DEBUG 261060 bytes of stack available (0x20000000 ..= 0x2003FBC4), using 1024 byte canary
(HOST) TRACE setting up canary took 0.019s (51.62 KiB/s)
(HOST) DEBUG starting device
(HOST) DEBUG Successfully attached RTT
────────────────────────────────────────────────────────────────────────────────
ERROR panicked at 'explicit panic'
────────────────────────────────────────────────────────────────────────────────
(HOST) TRACE reading canary took 0.010s (95.49 KiB/s)
(HOST) TRACE reading canary took 0.013s (76.51 KiB/s)
(HOST) DEBUG stack canary intact
(HOST) TRACE 0x000015b0: found FDE for 0x000015b0 .. 0x000015c4 at offset 6432
(HOST) TRACE uwt row for pc 0x000015b0: UnwindTableRow { start_address: 5552, end_address: 5572, saved_args_size: 0, cfa: RegisterAndOffset { register: Register(13), offset: 0 }, registers: RegisterRuleMap { rules: [] } }
Expand Down
@@ -0,0 +1,18 @@
---
source: tests/test.rs
expression: run_result.output

---
(HOST) INFO flashing program (2 pages / 8.00 KiB)
(HOST) INFO success!
────────────────────────────────────────────────────────────────────────────────
INFO ack(m=10, n=10, SP=20037b88)
INFO ack(m=10, n=9, SP=2002fb60)
INFO ack(m=10, n=8, SP=20027b38)
INFO ack(m=10, n=7, SP=2001fb10)
INFO ack(m=10, n=6, SP=20017ae8)
INFO ack(m=10, n=5, SP=2000fac0)
INFO ack(m=10, n=4, SP=20007a98)
────────────────────────────────────────────────────────────────────────────────
(HOST) ERROR the program has overflowed its stack

0 comments on commit cc8c992

Please sign in to comment.