fix(release): publish ESP32 solo binaries, add screenshot to Heltec envs

The solo release job only attached *.uf2 and *.zip, which covered every solo
board back when they were all nRF52. The Heltec V3/V4 .bin images were built
and then silently dropped, so tagging a release produced nothing downloadable
for those two boards.

Releases now carry a single -merged.bin per ESP32 board (bootloader +
partition table + app at 0x0). build.sh also writes an app-only .bin, but
that one needs offset 0x10000 and a bootloader already on the chip, so it's
deleted before upload rather than shipped next to the merged image — flashing
it at 0x0 looks exactly like a bricked device.

Also adds -D ENABLE_SCREENSHOT to both Heltec solo envs. Every other solo env
already had it, so Solo Tools couldn't capture these two boards' displays and
the README's "no special build flags required" was untrue for them. Both envs
rebuilt clean (V3: RAM 58.8%, Flash 43.2%).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-08-07 19:21:12 +02:00
co-authored by Claude Opus 5
parent 60811a4f5d
commit 6d667d8bca
4 changed files with 12 additions and 0 deletions
@@ -65,6 +65,13 @@ jobs:
mv out/*.uf2 "out/solo-${{ env.BUILD_VERSION }}-${DEVICE_NAME}.uf2" 2>/dev/null || true
# nRF52 DFU package (adafruit-nrfutil) — used for OTA / BLE-DFU updates.
mv out/*.zip "out/solo-${{ env.BUILD_VERSION }}-${DEVICE_NAME}-ota.zip" 2>/dev/null || true
# ESP32 boards produce .bin instead of .uf2. Only the merged image
# (bootloader + partitions + app, flashed at 0x0) is published: build.sh also
# writes an app-only .bin, but that one needs offset 0x10000 and a bootloader
# already on the chip, so shipping it next to the merged image would only
# invite bricked-looking flashes. Anyone who wants it can build it locally.
mv out/${{ matrix.env }}-*-merged.bin "out/solo-${{ env.BUILD_VERSION }}-${DEVICE_NAME}-merged.bin" 2>/dev/null || true
rm -f out/${{ matrix.env }}-*.bin
- name: Upload Firmware
uses: actions/upload-artifact@v4
@@ -97,3 +104,4 @@ jobs:
files: |
out/*.uf2
out/*.zip
out/*-merged.bin