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

6 lines
149 B
Bash

if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=64M count=1
fi
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial stdio -sd sd.bin