Skip to main content
Martin Davey
Associate III
October 12, 2016
Question

CubeMX with STM32F769I-DISCOVERY ethernet lwip & FreeRTOS priority assertion

  • October 12, 2016
  • 2 replies
  • 533 views
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
This topic has been closed for replies.

2 replies

ST Technical Moderator
November 2, 2016
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Jeanne Joly
Associate
May 5, 2017
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