update6-12

This commit is contained in:
richonguzman 2024-05-24 18:36:43 -04:00
parent bc29afa94e
commit c1d1069785
1 changed files with 35 additions and 35 deletions

View File

@ -47,41 +47,41 @@ jobs:
- name: Merge for web flashing - name: Merge for web flashing
run: | run: |
python3 -m pip install esptool python3 -m pip install esptool
if [ "${{ matrix.target.chip }}" == "esp32" ]; then if [ "${{ matrix.target.chip }}" == "esp32" ]; then
python3 -m esptool --chip esp32 merge_bin \ python3 -m esptool --chip esp32 merge_bin \
-o installer/web_factory_${{ matrix.target.name }}.bin \ -o installer/web_factory_${{ matrix.target.name }}.bin \
--flash_mode dio \ --flash_mode dio \
--flash_freq 40m \ --flash_freq 40m \
--flash_size 4MB \ --flash_size 4MB \
0x1000 installer/firmware/bootloader.bin \ 0x1000 installer/firmware/bootloader.bin \
0x9000 installer/firmware/partitions.bin \ 0x9000 installer/firmware/partitions.bin \
0xe000 installer/firmware/boot_app0.bin \ 0xe000 installer/firmware/boot_app0.bin \
0x10000 installer/firmware/firmware.bin \ 0x10000 installer/firmware/firmware.bin \
0x3D0000 installer/firmware/spiffs.bin 0x3D0000 installer/firmware/spiffs.bin
elif [ "${{ matrix.target.chip }}" == "esp32s3" ]; then elif [ "${{ matrix.target.chip }}" == "esp32s3" ]; then
python3 -m esptool --chip esp32s3 merge_bin \ python3 -m esptool --chip esp32s3 merge_bin \
-o installer/web_factory_${{ matrix.target.name }}.bin \ -o installer/web_factory_${{ matrix.target.name }}.bin \
--flash_mode dio \ --flash_mode dio \
--flash_freq 40m \ --flash_freq 40m \
--flash_size 4MB \ --flash_size 4MB \
0x1000 installer/firmware/bootloader.bin \ 0x1000 installer/firmware/bootloader.bin \
0x9000 installer/firmware/partitions.bin \ 0x9000 installer/firmware/partitions.bin \
0xf000 installer/firmware/boot_app0.bin \ 0xf000 installer/firmware/boot_app0.bin \
0x10000 installer/firmware/firmware.bin \ 0x10000 installer/firmware/firmware.bin \
0x410000 installer/firmware/spiffs.bin 0x410000 installer/firmware/spiffs.bin
elif [ "${{ matrix.target.chip }}" == "esp32c3" ]; then elif [ "${{ matrix.target.chip }}" == "esp32c3" ]; then
python3 -m esptool --chip esp32c3 merge_bin \ python3 -m esptool --chip esp32c3 merge_bin \
-o installer/web_factory_${{ matrix.target.name }}.bin \ -o installer/web_factory_${{ matrix.target.name }}.bin \
--flash_mode dio \ --flash_mode dio \
--flash_freq 40m \ --flash_freq 40m \
--flash_size 4MB \ --flash_size 4MB \
0x1000 installer/firmware/bootloader.bin \ 0x1000 installer/firmware/bootloader.bin \
0x9000 installer/firmware/partitions.bin \ 0x9000 installer/firmware/partitions.bin \
0xf000 installer/firmware/boot_app0.bin \ 0xf000 installer/firmware/boot_app0.bin \
0x10000 installer/firmware/firmware.bin \ 0x10000 installer/firmware/firmware.bin \
0x210000 installer/firmware/spiffs.bin 0x210000 installer/firmware/spiffs.bin
fi fi
- name: Install Zip - name: Install Zip
run: sudo apt-get install zip run: sudo apt-get install zip