ESP32 7" and OTA
Hi,
I recently bought this: https://www.elecrow.com/esp32-display-7-inch-hmi-display-rgb-tft-lcd-touch-screen-support-lvgl.html and I'm having a great time with it. But I would like to be able to update my Arduino sketch over the air (OTA) with ArduinoOTA. I've added the few lines of code I usually use with my other boards to enable OTA and I can see the port in the Arduino IDE, but when I try to upload the sketch, the displays reboot and the upload fails. I assumed that it was due to the "Huge APP(3MB No OTA/1MB SPIFFS)" setting, and I tried one other setting that did not have "No OTA" but the display did not work anymore (blank), so I put "Huge APP(3MB No OTA/1MB SPIFFS)" back and was able to revive the display. Before I destroy something, I wanted to know if there is a way to make OTA work with this display? What setting should I change?
Thanks,
Comments
Just in case anyone ever finds this, "Minimal SPIFFS(1.9 MB APP with OTA/190 KB SPIFFS)" does work.
This is because the size on the board is limited. When burning, it is configured OTA is disabled. If you want to use it, you have to choose the option with OTA when burning, but the program cannot be too large, otherwise it will not burn in
How is this to be done using platformio? Thanks in advance!