Skip to content

Commit

Permalink
Create bootable cardputer bin
Browse files Browse the repository at this point in the history
  • Loading branch information
nonik0 committed May 7, 2024
1 parent d6add05 commit b12abee
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,16 @@ jobs:
- name: Build PlatformIO Project
run: pio run

- name: Rename Bin File
run: mv .pio/build/m5cardputer/firmware.bin LoRaChat.bin
- name: Install esptool
run: |
pip install -U esptool
- name: Create Cardputer Firmware Binary
run: |
esptool.py --chip esp32s3 merge_bin --output LoRaChat.bin \
0x00000 .pio/build/m5cardputer/bootloader.bin \
0x08000 .pio/build/m5cardputer/partitions.bin \
0x10000 .pio/build/m5cardputer/firmware.bin
- name: Upload Build Artifact
uses: actions/upload-artifact@v4.3.1
Expand Down

0 comments on commit b12abee

Please sign in to comment.