2025-02-05 09:10 PM - edited 2025-02-05 09:13 PM
Hello!
The code generated for lwIP and Ethernet (Internal MAC) has three threads for working of lwIP and the Ethernet driver.
I am using v 1.17.0 of the IDE (latest at the time of writting)
The problem is that the default value of STACK size of EthIf (Rx Handler Thread) is very small: Only 350 bytes. which leads to stackoverflow. I have manually changed the value from code. But I cannot find any GUI to change this! Only we are allowed to configure the tcip_thread but their is NO option for last two threads.
Further there is only a single constant that is used for initialization of both the threads (EthIf and EthLink)
#define INTERFACE_THREAD_STACK_SIZE ( 1024 )
and this same constant is overwritten that causes confusion.