Files
mkrtos-real/debug.sh
2023-08-31 22:52:39 +08:00

13 lines
230 B
Bash
Executable File

#!/bin/bash
# if [-z "$1"]; then
# echo "usage: ./debug.sh [tcp port]"
# exit
# fi
qemu-system-arm -machine\
netduino2 -cpu cortex-m3 \
-nographic -m size=2\
-kernel $PWD/build/output/kernel.img \
-S -gdb tcp::$1