cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX placing MX_LWIP_Init() in first listed RTOS task.

XD
Associate II

Hi everyone. 

Maybe this my doing or an oversight by ST?

CubeMX places the MX_LWIP_Init(); function in the first listed RTOS task witch is far from ideal. In my case the "first task" is dynamically created depending on a multitude of different factors. This resulted in the init function not being called and later being called multiple times during runtime.

It's an easy fix, just move the function call somewhere else. It just doesn't seem right that the generation tool does this...

(つಠ_ʖಠ)つ

 

 

2 REPLIES 2
XXu.3
Associate II

I see the same issue. Yes we could just move it out from the first task, but later if we update the .ioc file, this will be added again. Very annoying. 

Pavel A.
Evangelist III