From 08f48660ca26f21da85279f04677fb9aecee8f8b Mon Sep 17 00:00:00 2001 From: ruv Date: Sun, 15 Mar 2026 10:34:40 -0400 Subject: [PATCH] fix(ci): pad QEMU flash image to 8MB with --fill-flash-size QEMU rejects flash images that aren't exactly 2/4/8/16 MB. esptool merge_bin produces a sparse image (~1.1 MB) by default. Add --fill-flash-size 8MB to pad with 0xFF to the full 8 MB. Co-Authored-By: claude-flow --- .github/workflows/firmware-qemu.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/firmware-qemu.yml b/.github/workflows/firmware-qemu.yml index 40f42c32..d6dae98b 100644 --- a/.github/workflows/firmware-qemu.yml +++ b/.github/workflows/firmware-qemu.yml @@ -152,6 +152,7 @@ jobs: python3 -m esptool --chip esp32s3 merge_bin \ -o build/qemu_flash.bin \ --flash_mode dio --flash_freq 80m --flash_size 8MB \ + --fill-flash-size 8MB \ 0x0 build/bootloader/bootloader.bin \ 0x8000 build/partition_table/partition-table.bin \ $OTA_ARGS \ @@ -339,6 +340,7 @@ jobs: python3 -m esptool --chip esp32s3 merge_bin \ -o build/qemu_flash.bin \ --flash_mode dio --flash_freq 80m --flash_size 8MB \ + --fill-flash-size 8MB \ 0x0 build/bootloader/bootloader.bin \ 0x8000 build/partition_table/partition-table.bin \ 0x20000 build/esp32-csi-node.bin