Skip to content

Commit c62c5fd

Browse files
committed
Overwrite tinyusb boot preference
1 parent 492ed75 commit c62c5fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-clang-doxy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,12 @@ jobs:
184184
ls /home/runner/Arduino/hardware/espressif/esp32/tools/partitions
185185
- name: boot_app0 file from arduino-cli core
186186
if: steps.check_files.outputs.files_exists == 'true'
187-
run: mv /home/runner/.arduino15/packages/esp32/hardware/esp32/*/tools/partitions/boot_app0.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.boot_app0.bin
187+
run: cp /home/runner/.arduino15/packages/esp32/hardware/esp32/*/tools/partitions/boot_app0.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.boot_app0.bin
188188
- name: boot_app0 file from esp32 source bsp
189189
if: steps.check_files.outputs.files_exists == 'false'
190-
run: mv /home/runner/Arduino/hardware/espressif/esp32/tools/partitions/boot_app0.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.boot_app0.bin
190+
run: cp /home/runner/Arduino/hardware/espressif/esp32/tools/partitions/boot_app0.bin wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.boot_app0.bin
191+
- name: Copy boot_app0 file to ota_data_initial.bin (overwrite tinyuf2 boot preference)
192+
run: cp wippersnapper.${{ matrix.arduino-platform }}.fatfs.${{ env.WS_VERSION }}.boot_app0.bin ota_data_initial.bin
191193
- name: Create combined binary using Esptool merge-bin
192194
run: |
193195
echo ${{ steps.get_board_json.outputs.boardJson }}

0 commit comments

Comments
 (0)