|
|
@@ -37,14 +37,12 @@ case $TARGET in
|
|
|
$X86_TARGET)
|
|
|
west build -b qemu_x86_nommu \
|
|
|
. -p always -- \
|
|
|
- -DCONF_FILE=prj_qemu_x86_nommu.conf \
|
|
|
-DWAMR_BUILD_TARGET=X86_32
|
|
|
west build -t run
|
|
|
;;
|
|
|
$STM32_TARGET)
|
|
|
west build -b nucleo_f767zi \
|
|
|
. -p always -- \
|
|
|
- -DCONF_FILE=prj_nucleo767zi.conf \
|
|
|
-DWAMR_BUILD_TARGET=THUMBV7
|
|
|
west flash
|
|
|
;;
|
|
|
@@ -53,7 +51,6 @@ case $TARGET in
|
|
|
west build -b esp32 \
|
|
|
. -p always -- \
|
|
|
-DESP_IDF_PATH=$ESP_IDF_PATH \
|
|
|
- -DCONF_FILE=prj_esp32.conf \
|
|
|
-DWAMR_BUILD_TARGET=XTENSA
|
|
|
# suppose the serial port is /dev/ttyUSB1 and you should change to
|
|
|
# the real name accordingly
|
|
|
@@ -62,21 +59,18 @@ case $TARGET in
|
|
|
$QEMU_XTENSA_TARGET)
|
|
|
west build -b qemu_xtensa \
|
|
|
. -p always -- \
|
|
|
- -DCONF_FILE=prj_qemu_xtensa.conf \
|
|
|
-DWAMR_BUILD_TARGET=XTENSA
|
|
|
west build -t run
|
|
|
;;
|
|
|
$QEMU_CORTEX_A53)
|
|
|
west build -b qemu_cortex_a53 \
|
|
|
. -p always -- \
|
|
|
- -DCONF_FILE=prj_qemu_cortex_a53.conf \
|
|
|
-DWAMR_BUILD_TARGET=AARCH64
|
|
|
west build -t run
|
|
|
;;
|
|
|
$QEMU_RISCV64_TARGET)
|
|
|
west build -b qemu_riscv64 \
|
|
|
. -p always -- \
|
|
|
- -DCONF_FILE=prj_qemu_riscv64.conf \
|
|
|
-DWAMR_BUILD_TARGET=RISCV64_LP64 \
|
|
|
-DWAMR_BUILD_AOT=0
|
|
|
west build -t run
|
|
|
@@ -84,7 +78,6 @@ case $TARGET in
|
|
|
$QEMU_RISCV32_TARGET)
|
|
|
west build -b qemu_riscv32 \
|
|
|
. -p always -- \
|
|
|
- -DCONF_FILE=prj_qemu_riscv32.conf \
|
|
|
-DWAMR_BUILD_TARGET=RISCV32_ILP32 \
|
|
|
-DWAMR_BUILD_AOT=0
|
|
|
west build -t run
|
|
|
@@ -92,7 +85,6 @@ case $TARGET in
|
|
|
$QEMU_ARC_TARGET)
|
|
|
west build -b qemu_arc_em \
|
|
|
. -p always -- \
|
|
|
- -DCONF_FILE=prj_qemu_arc.conf \
|
|
|
-DWAMR_BUILD_TARGET=ARC \
|
|
|
-DWAMR_BUILD_AOT=0
|
|
|
west build -t run
|