I have a long term project that I have been working on in PlatformIO that recently stopped compiling.
I am now getting several instances of the following error in the terminal:
.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h:405:2: error: #error "One of CONFIG_TCP_OVERSIZE_xxx options should be set by sdkconfig"
It also gives this error several times:
.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:95:2: error: 'esp_eth_handle_t' does not name a type; did you mean 'esp_event_handler_t'?
The last time it worked was about a week ago, since then I have updated the ESP 32 platform. I have searched around and have not found anyone else having this issue, so not sure if the update was the cause.
I have also been searching through the documentation but so far have not found anything relevant.
Any ideas on what may have caused this to break? Build info below:
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/node32s.html
PLATFORM: Espressif 32 (6.3.2+sha.26aa55a) > Node32s
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20009.0 (2.0.9)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft