From e223792e1401b26a306e25eab0ec34b1e3025b2d Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 13 Nov 2022 17:07:36 +0100 Subject: [PATCH] Fix the cargo espflash call in qemu.sh --- qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu.sh b/qemu.sh index 2aaf8c47..5ecfdec1 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 target/$TARGET/$BUILD/rust-esp32-std-demo.bin --chip esp32 -s 4M -T partitions.csv $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