diff --git a/.github/workflows/gitea-release.yml b/.github/workflows/gitea-release.yml index 3e06249..c27293f 100644 --- a/.github/workflows/gitea-release.yml +++ b/.github/workflows/gitea-release.yml @@ -40,8 +40,8 @@ jobs: # Copy firmware binary cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/upgrade_filaman_firmware_v${VERSION}.bin - # Create SPIFFS binary with ESP32-WROOM specific image header - echo -ne '\xE9\x01\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x01\x03\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin + # Create SPIFFS binary with minimal ESP32 image header + echo -ne '\xE9\x01\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x00\x00\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin # Append the actual SPIFFS data cat .pio/build/esp32dev/spiffs.bin >> .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 870db73..f66625d 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -47,8 +47,8 @@ jobs: # Copy firmware binary cp .pio/build/esp32dev/firmware.bin .pio/build/esp32dev/upgrade_filaman_firmware_v${VERSION}.bin - # Create SPIFFS binary with ESP32-WROOM specific image header - echo -ne '\xE9\x01\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x01\x03\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin + # Create SPIFFS binary with minimal ESP32 image header + echo -ne '\xE9\x01\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x00\x00\x00\x00' > .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin # Append the actual SPIFFS data cat .pio/build/esp32dev/spiffs.bin >> .pio/build/esp32dev/upgrade_filaman_website_v${VERSION}.bin diff --git a/platformio.ini b/platformio.ini index 10a203b..eb480ce 100644 --- a/platformio.ini +++ b/platformio.ini @@ -54,12 +54,8 @@ build_flags = -DCONFIG_ARDUHAL_LOG_COLORS=1 -DOTA_DEBUG=1 -DCONFIG_OPTIMIZATION_LEVEL_DEBUG=1 - -DCONFIG_ESP32_PANIC_PRINT_REBOOT -DBOOT_APP_PARTITION_OTA_0=1 - -DCONFIG_LOG_DEFAULT_LEVEL=3 -DCONFIG_LWIP_TCP_MSL=60000 - -DCONFIG_LWIP_TCP_WND_DEFAULT=8192 - -DCONFIG_LWIP_TCP_SND_BUF_DEFAULT=4096 -DCONFIG_LWIP_TCP_RCV_BUF_DEFAULT=4096 -DCONFIG_LWIP_MAX_ACTIVE_TCP=16