From 1a763d26ed2e986b90059a3825688f8e0d08bb82 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Tue, 3 Dec 2024 15:45:31 -0500 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0aab621..9c5c181 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,6 +23,16 @@ jobs: extra-arduino-cli-args: "--warnings default" set-build-path: true + - name: Make merged .bin + run: > + python3 "$HOME/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py" + --chip esp32 merge_bin -o $HOME/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/bbn_wave_freq_m5atomS3_firmware.bin + --flash_mode dio --flash_freq 80m --flash_size 16MB + 0x1000 "$HOME/work/bbn-wave-period-esp32/bbn-wave-period-esp32/bbn_wave_freq_m5atomS3/build/bbn_wave_freq_m5atomS3.ino.bootloader.bin" + 0x8000 "$HOME/work/bbn-wave-period-esp32/bbn-wave-period-esp32/bbn_wave_freq_m5atomS3/build/bbn_wave_freq_m5atomS3.ino.partitions.bin" + 0xe000 "$HOME/.arduino15/packages/esp32/hardware/esp32/2.0.15/tools/partitions/boot_app0.bin" + 0x10000 "$HOME/work/bbn-wave-period-esp32/bbn-wave-period-esp32/bbn_wave_freq_m5atomS3/build/bbn_wave_freq_m5atomS3.ino.bin"; + - name: Make zip run: | ls /home/runner/work/bbn-wave-period-esp32/bbn-wave-period-esp32/bbn_wave_freq_m5atomS3/build/*.bin | zip bbn_wave_freq_m5atomS3_bin-$(date +%Y-%m-%d).zip -j -@