I'm using CubeMX 4.18 to generate my code for an STM32F407VG for the System Workbench using the arm-gcc. Works great, except for in socket.h it complains about redefinion of struct timeval.
When I manually set
#define LWIP_TIMEVAL_PRIVATE 0
and do a
in cc.h as suggested, it builds.
But of course every time I make changes to my CubeMX project, it gets overwritten and I have manually edit again.
Please fix this in the next release!
Otherwise great tool!