Question
CubeMX with STM32F769I-DISCOVERY ethernet lwip & FreeRTOS priority assertion
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