(yeah, old thread, I know, but it highlights the issues involved to get this working …)
I can’t figure out how to make PIO + FreeRTOS + LwIP play nice together on STM32. There’s a makefile-based version which works out of the box on github (effortlessly!), but every attempt to bring it into PIO’s world has failed me so far (FWIW, I’d rather not go through the STM32Cube code generator, which leads to unmaintainable code).
I’ve tried using the FreeRTOS / LwIP libs inside .platformio (fails to compile) and I’ve tried mincrmatt12’s PIO repos (see 6696, 6751, and github, after adapting them from F2 to F7).
So far, it’s a bit like herding cats. If there’s a working example of running PIO + FreeRTOS + LwIP on any STM32 board, I’d love to hear about it …