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 3, 2024
1 parent b68bde4 commit 48bcd47
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ jobs:
required-libraries: [email protected],[email protected],[email protected],[email protected]
set-build-path: true

- name: Merge BINs
run: |
pwd
$HOME/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py |
--chip esp32 merge_bin -o /home/runner/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/bbn_m5tough_active_boat_firmware.bin |
--flash_mode dio --flash_size 16MB |
0x1000 "$HOME/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/bbn_m5tough_active_boat.ino.bootloader.bin" |
0x8000 "$HOME/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/bbn_m5tough_active_boat.ino.partitions.bin" |
0xe000 "$HOME/.arduino15/packages/esp32/hardware/esp32/2.0.15/tools/partitions/boot_app0.bin" |
0x10000 "bbn_m5tough_active_boat.ino.bin"
- name: Make zip
run: |
ls /home/runner/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/*.bin | zip bbn_m5tough_active_boat_bin-$(date +%Y-%m-%d).zip -j -@
Expand All @@ -47,19 +58,4 @@ jobs:
overwrite: true
file_glob: true

- name: Look for tools
run: |
pwd
find /home/runner/ -name esptool.py
find /home/runner/ -name boot_app0.bin
- name: Merge BINs
run: |
pwd
$HOME/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py |
--chip esp32 merge_bin -o /home/runner/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/bbn_m5tough_active_boat_firmware.bin |
--flash_mode dio --flash_size 16MB |
0x1000 "$HOME/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/bbn_m5tough_active_boat.ino.bootloader.bin" |
0x8000 "$HOME/work/bbn-m5stack-tough/bbn-m5stack-tough/bbn_m5tough_active_boat/build/bbn_m5tough_active_boat.ino.partitions.bin" |
0xe000 "$HOME/.arduino15/packages/esp32/hardware/esp32/2.0.15/tools/partitions/boot_app0.bin" |
0x10000 "bbn_m5tough_active_boat.ino.bin"

0 comments on commit 48bcd47

Please sign in to comment.