knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
645 stars 75 forks source link

Handle reset vector not pointing to ELF symbol #398

Closed jannic closed 1 year ago

jannic commented 1 year ago

Closes #391

jannic commented 1 year ago

Output of running probe-run --chip RP2040 target/thumbv6m-none-eabi/debug/rp2040-project-template -v and then aborting with CTRL-C, with the fixed binary: probe-run.log (Same file as a gist: https://gist.github.com/jannic/9cea357e117a689a7524f2df638dda33)

elpiel commented 1 year ago

Would it be possible to review (if other people are needed) and merge this PR?

In the mean time, anyone interested to test or use this change:

cargo install probe-run --git https://github.com/knurling-rs/probe-run.git --rev 884e799dd7fb0cf6d64619a23a3807ca2ccb47e9
bors[bot] commented 1 year ago

Merge conflict.

jannic commented 1 year ago

Merge conflict.

I'll have a look.

Urhengulas commented 1 year ago

bors retry

Thank you for your work @jannic

bors[bot] commented 1 year ago

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here. For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.