@@ -141,6 +141,16 @@ jobs:
141
141
echo $content
142
142
echo EOF
143
143
} >> "$GITHUB_OUTPUT"
144
+ - name : fetch tinyuf2 combined.bin
145
+ run : |
146
+ echo "Downloading tinyuf2 combined.bin for ${matrix.arduino-platform}...(${board_name})"
147
+ if [ "${{ matrix.arduino-platform }}" == "funhouse_noota" ]; then
148
+ wget https://adafruit-circuit-python.s3.amazonaws.com/bootloaders/esp32/adafruit_funhouse_esp32s2/tinyuf2-adafruit_funhouse_esp32s2-0.35.0-combined.bin -O wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.tinyuf2-combined.bin
149
+ elif [ "${{ matrix.arduino-platform }}" == "esp32s3_devkitc_1_n8" ]; then
150
+ wget https://adafruit-circuit-python.s3.amazonaws.com/bootloaders/esp32/espressif_esp32s3_devkitc_1/tinyuf2-espressif_esp32s3_devkitc_1-0.35.0-combined.bin -O wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.tinyuf2-combined.bin
151
+ elif [ "${{ matrix.arduino-platform }}" == "xiao_esp32s3" ]; then
152
+ wget https://adafruit-circuit-python.s3.amazonaws.com/bootloaders/esp32/espressif_xiao_esp32s3/tinyuf2-espressif_xiao_esp32s3-0.35.0-combined.bin -O wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.tinyuf2-combined.bin
153
+ fi
144
154
- name : Check boot_app0 file existence (esp32sx built from core, not-source)
145
155
id : check_files
146
156
uses : andstor/file-existence-action@v3
@@ -169,10 +179,22 @@ jobs:
169
179
--flash-freq ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashFreq}} \
170
180
--flash-size ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashSize}} \
171
181
-o wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.combined.bin \
172
- ${{ matrix.offset }} wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.bootloader.bin \
173
- 0x8000 wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.partitions.bin \
182
+ 0x0 wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.tinyuf2-combined.bin \
174
183
0xe000 wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.boot_app0.bin \
175
184
0x10000 wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.bin
185
+ # - name: Create combined binary using Esptool merge-bin
186
+ # run: |
187
+ # echo ${{ steps.get_board_json.outputs.boardJson }}
188
+ # echo ${{ fromJson(steps.get_board_json.outputs.boardJson) }}
189
+ # python3 -m esptool --chip ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.chip}} merge-bin \
190
+ # --flash-mode ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashMode}} \
191
+ # --flash-freq ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashFreq}} \
192
+ # --flash-size ${{fromJson(steps.get_board_json.outputs.boardJson).esptool.flashSize}} \
193
+ # -o wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.combined.bin \
194
+ # ${{ matrix.offset }} wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.bootloader.bin \
195
+ # 0x8000 wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.partitions.bin \
196
+ # 0xe000 wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.boot_app0.bin \
197
+ # 0x10000 wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.bin
176
198
- name : Zip build artifacts
177
199
run : |
178
200
zip -r wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.zip wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.*
0 commit comments