diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40324d9..6b8f1f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,11 +64,11 @@ jobs: run: | mkdir build echo "Compiling ${{github.repository}}..." - arduino-cli compile -v -b esp32:esp32:esp32 --output-dir build ESP32-SOCKETIO + arduino-cli compile -v -b esp32:esp32:esp32 --build-properties build.partitions=minimal,upload.maximum_size=1966080 --output-dir build ESP32-SOCKETIO - name: Create spiffs binary run: | - /home/runner/.arduino15/packages/esp32/tools/mkspiffs/0.2.3/mkspiffs -c ESP32-SOCKETIO/data -b 4096 -p 256 -s 0x170000 build/spiffs.bin + /home/runner/.arduino15/packages/esp32/tools/mkspiffs/0.2.3/mkspiffs -c ESP32-SOCKETIO/data -b 4096 -p 256 -s 0xB0000 build/spiffs.bin - name: Checkout esp_binary_merger uses: actions/checkout@v2 @@ -80,8 +80,8 @@ jobs: run: | python esp32_binary_merger/merge_bin_esp.py \ --output_name app-combined.bin \ - --bin_path ESP32-SOCKETIO/helpers/bootloader_qio_80m.bin build/ESP32-SOCKETIO.ino.partitions.bin build/ESP32-SOCKETIO.ino.bin build/spiffs.bin \ - --bin_address 0x1000 0x8000 0x10000 0x290000 + --bin_path /home/runner/.arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/bin/bootloader_dio_80m.bin build/ESP32-SOCKETIO.ino.partitions.bin build/ESP32-SOCKETIO.ino.bin build/spiffs.bin \ + --bin_address 0x1000 0x8000 0x10000 0x150000 mv output/app-combined.bin build/app-combined.bin mv build/ESP32-SOCKETIO.ino.bin build/app.bin diff --git a/helpers/bootloader_qio_80m.bin b/helpers/bootloader_qio_80m.bin deleted file mode 100644 index 944f494..0000000 Binary files a/helpers/bootloader_qio_80m.bin and /dev/null differ