Some ESP32-WROOM-32 modules can take a little longer than 5 seconds when getting ready to flash to the firmware partition (but not filesystem, due to it's smaller size).
This extends the watchdog timer to 15 seconds just before clearing and flashing either partition, and resets it back to 5 seconds afterwards.
Thanks to @luvini for helping confirm the fix with their affected chip!
Some ESP32-WROOM-32 modules can take a little longer than 5 seconds when getting ready to flash to the firmware partition (but not filesystem, due to it's smaller size).
This extends the watchdog timer to 15 seconds just before clearing and flashing either partition, and resets it back to 5 seconds afterwards.
Thanks to @luvini for helping confirm the fix with their affected chip!