build test
This commit is contained in:
parent
dda4b06714
commit
b7f6d84ac8
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
matrix:
|
||||
target:
|
||||
- name: ttgo-lora32-v21
|
||||
chip: ESP32
|
||||
chip: esp32
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
|
@ -43,36 +43,36 @@ jobs:
|
|||
|
||||
- name: Merge for web flashing
|
||||
run: |
|
||||
if [ "${{ matrix.target.chip }}" == "ESP32" ]; then
|
||||
python installer/bin/esptool/esptool.py --chip ESP32 merge_bin \
|
||||
if [ "${{ matrix.target.chip }}" == "esp32" ]; then
|
||||
python installer/bin/esptool/esptool.py --chip esp32 merge_bin \
|
||||
-o installer/web_factory_${{ matrix.target.name }}.bin \
|
||||
--flash_mode dio \
|
||||
--flash_freq 40m \
|
||||
--flash_size 4MB \
|
||||
0x1000 installer/firmware/bootloader.bin \
|
||||
0x9000 installer/firmware/partitions.bin \
|
||||
0x8000 installer/firmware/partitions.bin \
|
||||
0xe000 installer/firmware/boot_app0.bin \
|
||||
0x10000 installer/firmware/firmware.bin \
|
||||
0x3D0000 installer/firmware/spiffs.bin
|
||||
elif [ "${{ matrix.target.chip }}" == "ESP32S3" ]; then
|
||||
python installer/bin/esptool/esptool.py --chip ESP32S3 merge_bin \
|
||||
elif [ "${{ matrix.target.chip }}" == "esp32s3" ]; then
|
||||
python installer/bin/esptool/esptool.py --chip esp32s3 merge_bin \
|
||||
-o installer/web_factory_${{ matrix.target.name }}.bin \
|
||||
--flash_mode dio \
|
||||
--flash_freq 40m \
|
||||
--flash_size 8MB \
|
||||
0x1000 installer/firmware/bootloader.bin \
|
||||
0x9000 installer/firmware/partitions.bin \
|
||||
0x8000 installer/firmware/partitions.bin \
|
||||
0xe000 installer/firmware/boot_app0.bin \
|
||||
0x10000 installer/firmware/firmware.bin \
|
||||
0x3D0000 installer/firmware/spiffs.bin
|
||||
elif [ "${{ matrix.target.chip }}" == "ESP32C3" ]; then
|
||||
python installer/bin/esptool/esptool.py --chip ESP32C3 merge_bin \
|
||||
elif [ "${{ matrix.target.chip }}" == "esp32c3" ]; then
|
||||
python installer/bin/esptool/esptool.py --chip esp32c3 merge_bin \
|
||||
-o installer/web_factory_${{ matrix.target.name }}.bin \
|
||||
--flash_mode dio \
|
||||
--flash_freq 40m \
|
||||
--flash_size 4MB \
|
||||
0x1000 installer/firmware/bootloader.bin \
|
||||
0x9000 installer/firmware/partitions.bin \
|
||||
0x8000 installer/firmware/partitions.bin \
|
||||
0xe000 installer/firmware/boot_app0.bin \
|
||||
0x10000 installer/firmware/firmware.bin \
|
||||
0x290000 installer/firmware/spiffs.bin
|
||||
|
|
|
|||
Loading…
Reference in New Issue