File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 2222 curl -L https://raw.githubusercontent.com/microsoft/uf2/master/utils/uf2families.json -o uf2families.json
2323 chmod +x uf2conv.py
2424
25+ - name : Install intelhex
26+ run : pip install --upgrade intelhex
27+
28+ - name : Install esptool
29+ run : pip install esptool
30+
2531 - name : Build Firmware
2632 run : |
2733 pio run
4147 --family 0xADA52840 \
4248 --output firmware_output/production-${TAG_NAME}.uf2
4349
50+ - name : Build esp32-s3-N16R8 Firmware
51+ run : |
52+ pio run --environment oeplesp32-s3-N16R8
53+ mkdir oeplesp32-s3-N16R8
54+ cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin oeplesp32-s3-N16R8/boot_app0.bin
55+ cp .pio/build/oeplesp32-s3-N16R8/firmware.bin oeplesp32-s3-N16R8/firmware.bin
56+ cp .pio/build/oeplesp32-s3-N16R8/bootloader.bin oeplesp32-s3-N16R8/bootloader.bin
57+ cp .pio/build/oeplesp32-s3-N16R8/partitions.bin oeplesp32-s3-N16R8/partitions.bin
58+ cd oeplesp32-s3-N16R8
59+ esptool.py --chip esp32-s3 merge_bin -o merged-firmware.bin --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0000 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin
60+ cd ~/
61+ cp oeplesp32-s3-N16R8/firmware.bin firmware_output/oeplesp32-s3-N16R8.bin
62+ cp oeplesp32-s3-N16R8/merged-firmware.bin firmware_output/oeplesp32-s3-N16R8_full.bin
63+
4464 - name : Upload Release Assets
4565 uses : svenstaro/upload-release-action@v2
4666 with :
You can’t perform that action at this time.
0 commit comments