Files
mkrtos-real/mkrtos_script/run_m3.sh
2025-03-10 22:45:24 +08:00

15 lines
276 B
Bash
Executable File

#!/bin/bash
# netduino2
if [ -z "$1" ]; then
echo "请输入板卡名字,使用默认板卡:"
echo "netduino2"
set $1 "netduino2"
else
echo "$1"
fi
qemu-system-arm -machine\
$1 -cpu cortex-m3 \
-nographic -m size=32 \
-kernel $PWD/build/output/kernel.img