Files
mkrtos-real/mkrtos_script/debug_cortex_r52.sh

13 lines
231 B
Bash
Raw Normal View History

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