I have an ESP32 connected to sensors, a lcd touchscreen, and a communication device. Using FreeRTOS, I've assigned sensor and communication device code to core 0, and core 1 handles the lcd touchscreen/user input. It works great so far.
My problem is, when the code encounters an error, and should halt execution, I'd use a while(true) loop for that. When I do that with my code, since I'm using FreeRTOS, that trigger's a WatchDogTimer in FreeRTOS and the ESP32 reboots.
Anyone know how to disable the WDT in FreeRTOS?