From fc392fd6ff55ed0706e552698876cab8f2058de2 Mon Sep 17 00:00:00 2001 From: Kevin Leung Date: Fri, 4 Nov 2022 13:06:56 +1100 Subject: [PATCH] The CHIP flag is required for cargo espflash --- qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu.sh b/qemu.sh index 2aaf8c47..56d108fd 100755 --- a/qemu.sh +++ b/qemu.sh @@ -6,5 +6,5 @@ BUILD=debug TARGET=xtensa-esp32-espidf # Don't change this. Only the ESP32 chip is supported in QEMU for now -cargo espflash save-image --features qemu --merge target/$TARGET/$BUILD/rust-esp32-std-demo.bin +cargo espflash save-image --features qemu --merge ESP32 target/$TARGET/$BUILD/rust-esp32-std-demo.bin $ESP_QEMU_PATH/qemu-system-xtensa -nographic -machine esp32 -nic user,model=open_eth,id=lo0,hostfwd=tcp:127.0.0.1:7888-:80 -drive file=target/$TARGET/$BUILD/rust-esp32-std-demo.bin,if=mtd,format=raw