cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX with STM32F769I-DISCOVERY ethernet lwip & FreeRTOS priority assertion

Martin Davey
Associate III
Posted on October 12, 2016 at 10:55

Cube version: 4.0, Firmware package 1.5.0.

Hi, Out of the box creation of a project with LwIP, FreeRTOS on the STM32F769I-DISCO0 generates for following code for interrupt priorities (ethernetif.c):

HAL_NVIC_SetPriority(ETH_IRQn, 0, 0);

Which fails FreeRTOS priority assertion during MX_LWIP_Init().On the STM32F746G-DISCO it generates:

HAL_NVIC_SetPriority(ETH_IRQn, 5, 0);

Which works fine. The other adjustment we still need to make is to set the Ethernet Phy selection to 0 rather than default selection of 1. Thanks, Martin. #lwip
2 REPLIES 2
Imen.D
ST Employee
Posted on November 02, 2016 at 14:45

Dear User,

Please note that your request is reported internally and it is under review.

Best Regards

STM32.forum

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Jeanne Joly
Senior III
Posted on May 05, 2017 at 10:30

Hi

Davey.Martin

,

Sorry for the late answer.

It seems that the issue is no more valid as I can't reproduce it on the latest releases.

Please upgrade CubeMX with the latest release and if you encounter again the issue, don't hesitate to post your question on this forum.

BR. Eric