Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Dec 7, 2024
1 parent 5d10218 commit de857a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -@
Expand Down

0 comments on commit de857a1

Please sign in to comment.