File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,14 @@ jobs:
101101
102102 - name : Package firmware
103103 run : |
104- cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin 0x01000.bin
104+ if [[ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin" ]]; then
105+ cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin 0x01000.bin
106+ elif [[ -f "/github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin" ]]; then
107+ cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin 0x01000.bin
108+ else
109+ echo could not find bootloader_dio_40m.bin, new location?
110+ exit 1
111+ fi
105112 cp bin/.pio/build/esp32dev/partitions.bin 0x08000.bin
106113 cp /github/home/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x0e000.bin
107114 cp bin/.pio/build/esp32dev/firmware.bin 0x10000.bin
You can’t perform that action at this time.
0 commit comments