Developing on an STM32CubeIDE project with lwIP + FreeRTOS
Is there a guide to follow ? How is memory assigned to lwIP ? Is it running on a separate task ?
I'm running a Mongoose demo which requires a big stack. I'm using the default task created by CubeIDE which just inits lwIP and goes to sleep on an infinite loop. Here I placed my app code.
Setting a stack of 2048 words is not enough for this app, but if I go higher then lwIP stops working (DHCP won't start properly, my app starts after DHCP has acquired an IP). Should I use a separate task ? Why ?
I'll be happy to get some pointers, though I'll dig lwipopts and the source code if necessary, I hope it is not; this is just a demo...