Skip to content

Commit

Permalink
add build-merged-firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
74th committed Feb 12, 2024
1 parent b609ea0 commit 1256342
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/m5dial-simple-pointer')
with:
files: |
m5dial-simple-pointer.elf
m5dial-simple-pointer.bin
body: |
```
Expand Down
4 changes: 2 additions & 2 deletions m5dial-pimoroni-trackball-compatible/build-merged-firmware.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
esptool.py --chip esp32s3 merge_bin \
-o m5dial-simple-pointer-merged.bin \
pio pkg exec -p tool-esptoolpy esptool.py -- --chip esp32s3 merge_bin \
-o m5dial-pimoroni-trackball-compatible.bin \
--flash_mode dio \
--flash_freq 40m \
--flash_size 4MB \
Expand Down
3 changes: 2 additions & 1 deletion m5dial-simple-pointer/build-merged-firmware.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
~/.platformio/penv/bin/python ~/.platformio/packages/tool-esptoolpy/esptool.py --chip esp32s3 merge_bin \
set -xe
pio pkg exec -p tool-esptoolpy esptool.py -- --chip esp32s3 merge_bin \
-o m5dial-simple-pointer.bin \
--flash_mode dio \
--flash_freq 80m \
Expand Down
4 changes: 2 additions & 2 deletions m5stackcore2-simple-pointer/build-merged-firmware.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
esptool.py --chip esp32s3 merge_bin \
-o m5stackcore2-simple-pointer-merged.bin \
pio pkg exec -p tool-esptoolpy esptool.py -- --chip esp32s3 merge_bin \
-o m5stackcore2-simple-pointer.bin \
--flash_mode dio \
--flash_freq 40m \
--flash_size 16MB \
Expand Down

0 comments on commit 1256342

Please sign in to comment.