Other Parts Discussed in Thread: HALCOGEN
I've seen several questions posted on this same topic, some dating back many years. Has anyone gotten FreeRTOS + LWIP to work?
The LWIP example for Hercules is not very good. It includes all of the C files into another C file. It is not hooked into the code properly with timers, instead using while() loops for timing.
On top of that, attempting to use it with FreeRTOS has a problem with the Memory Protection Unit. The example code cannot get an IP address from DHCP, but digging down into the code, it is faulting on a register access that is related to MPU-PMU settings. I just don't know how to fix it, either through HalCoGen or manually overriding memory settings.
