Re: triggering WDT in OTA
Posted: Wed Oct 12, 2022 12:16 am
I realize this thread is ancient, but today I got bitten by the long execution time of esp_ota_begin(). In looking at the source code, I discovered the OTA_WITH_SEQUENTIAL_WRITES macro which can be used as the 2nd argument. It changed the execution time of esp_ota_begin() from about 3 seconds to about 20ms.
This solution won't work for everything, but it worked for my application.
This solution won't work for everything, but it worked for my application.