From de857a15283ce9b619a0062ee2f3b25d932bcc2c Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Sat, 7 Dec 2024 11:30:50 -0500 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 835b3f8..0444c0d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,6 +30,17 @@ jobs: extra-arduino-cli-args: "--warnings default" set-build-path: true + - name: Merge BINs + run: > + pwd; + python3 "$HOME/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py" + --chip esp32 merge_bin -o /home/runner/work/bbn-nmea200-m5atom/bbn-nmea200-m5atom/bbn-nmea2000-usb-gw-m5atom/build/bbn-nmea2000-usb-gw-m5atom-firmware.bin + --flash_mode dio --flash_freq 80m --flash_size 16MB + 0x1000 "$HOME/work/bbn-nmea200-m5atom/bbn-nmea200-m5atom/bbn-nmea2000-usb-gw-m5atom/build/bbn-nmea2000-usb-gw-m5atom.ino.bootloader.bin" + 0x8000 "$HOME/work/bbn-nmea200-m5atom/bbn-nmea200-m5atom/bbn-nmea2000-usb-gw-m5atom/build/bbn-nmea2000-usb-gw-m5atom.ino.partitions.bin" + 0xe000 "$HOME/.arduino15/packages/esp32/hardware/esp32/2.0.15/tools/partitions/boot_app0.bin" + 0x10000 "$HOME/workbbn-nmea200-m5atom/bbn-nmea200-m5atom/bbn-nmea2000-usb-gw-m5atom/build/bbn-nmea2000-usb-gw-m5atom.ino.ino.bin" + - name: Make zip run: | ls /home/runner/work/bbn-nmea200-m5atom/bbn-nmea200-m5atom/*/build/*.bin | zip bbn-nmea200-m5atom_bin-$(date +%Y-%m-%d).zip -j -@