forked from M-Labs/thermostat
gdb with `cargo run`
This commit is contained in:
parent
7d50391af0
commit
f6282f33ff
|
@ -1,5 +1,5 @@
|
||||||
[target.thumbv7em-none-eabihf]
|
[target.thumbv7em-none-eabihf]
|
||||||
runner = 'gdb'
|
runner = "arm-none-eabihf-gdb -q -x openocd.gdb"
|
||||||
rustflags = [
|
rustflags = [
|
||||||
"-C", "link-arg=-Tlink.x",
|
"-C", "link-arg=-Tlink.x",
|
||||||
]
|
]
|
||||||
|
|
|
@ -41,7 +41,6 @@ stdenv.mkDerivation {
|
||||||
# Let openocd output scroll by
|
# Let openocd output scroll by
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
echo "Run 'cargo build --release --features=semihosting'"
|
echo "Run 'cargo run --release --features=semihosting'"
|
||||||
echo "Then '${targetPlatform.config}-gdb target/thumbv7em-none-eabihf/release/adc2tcp'"
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue