gdb with `cargo run`

softspi
Astro 2019-03-19 17:16:45 +01:00
父节点 7d50391af0
当前提交 f6282f33ff
共有 3 个文件被更改,包括 2 次插入3 次删除

查看文件

@ -1,5 +1,5 @@
[target.thumbv7em-none-eabihf]
runner = 'gdb'
runner = "arm-none-eabihf-gdb -q -x openocd.gdb"
rustflags = [
"-C", "link-arg=-Tlink.x",
]

查看文件

@ -41,7 +41,6 @@ stdenv.mkDerivation {
# Let openocd output scroll by
sleep 1
echo "Run 'cargo build --release --features=semihosting'"
echo "Then '${targetPlatform.config}-gdb target/thumbv7em-none-eabihf/release/adc2tcp'"
echo "Run 'cargo run --release --features=semihosting'"
'';
}