I am using the LPC54608J512 microcontroller with MCUExpresso IDE version 11.7.1 and SDK version 2.13.0. My application is based on lwIP version 2.0.0.
In my application, there's a code snippet with the following comment:
'Alas, lwIP is not designed to be restarted at runtime. Thus, the only way to revive the thread is by performing a watchdog reset.'
This approach triggers a watchdog reset whenever the lwIP thread encounters an unrecoverable issue. I would like to know:
- Is there a way to soft-restart the lwIP thread only, without affecting the rest of the system?
- Does a newer version of lwIP handle such situations more gracefully, or provide better mechanisms for thread recovery?