rt-thread-official/bsp/qemu-vexpress-a9/qemu-dbg.sh

6 lines
168 B
Bash
Executable File

if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536
fi
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial vc -serial vc -sd sd.bin -S -s