Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit d0abcd6

Browse files
lu-zeroivmarkov
authored andcommitted
Update the qemu.sh to the current cargo espflash
It accepts only `mb` and not `M` as unit.
1 parent 674f9bb commit d0abcd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qemu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ BUILD=debug
66

77
TARGET=xtensa-esp32-espidf # Don't change this. Only the ESP32 chip is supported in QEMU for now
88

9-
cargo espflash save-image --features qemu --merge target/$TARGET/$BUILD/rust-esp32-std-demo.bin --chip esp32 -s 4M -T partitions.csv
9+
cargo +esp espflash save-image --features qemu --merge target/$TARGET/$BUILD/rust-esp32-std-demo.bin --chip esp32 -s 4mb -T partitions.csv
1010
$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

0 commit comments

Comments
 (0)