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 05125ea commit 1a763d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -@
Expand Down

0 comments on commit 1a763d2

Please sign in to comment.