2023-01-14 07:47 AM
when code generate, in function void MX_LWIP_Init(void)
osThreadDef(EthLink, ethernet_link_thread, osPriorityBelowNormal, 0, configMINIMAL_STACK_SIZE *2);
in this line,using configMINIMAL_STACK_SIZE, not the TCPIP_THREAD_STACKSIZE parameter in the �?key option“ in the STM32Cubemx LWIP page
is a bug?
2023-01-14 08:34 AM
No, it is not a bug because the Ethernet link thread is not an lwIP core (TCPIP) thread. But don't worry, it's broken in a bunch of other ways. Also the link thread can be eliminated altogether by integrating it's functionality in the network reception thread (ethernetif_input() function), but HAL/Cube developers cannot understand it.