Improved debugger experience
This commit is contained in:
parent
831f180046
commit
690fab5c51
|
@ -3,10 +3,10 @@ build-std = ["core"]
|
|||
build-std-features = ["panic_immediate_abort"]
|
||||
|
||||
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
||||
runner = "probe-rs run --chip RP2040"
|
||||
runner = "./wrapper.sh"
|
||||
|
||||
[build]
|
||||
target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+
|
||||
|
||||
[env]
|
||||
DEFMT_LOG = "debug"
|
||||
DEFMT_LOG = "warn,rp=trace,bootloader=trace"
|
||||
|
|
2
.embed.toml
Normal file
2
.embed.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[default.general]
|
||||
chip = "rp2040"
|
3
wrapper.sh
Executable file
3
wrapper.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
probe-run --chip RP2040 --log-format="{L} {s}
|
||||
└─ [{t}] {m} @ {F}:{l}" $@
|
Loading…
Reference in New Issue
Block a user