cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX FREERTOS CMSIS_V2 LWIP - RTOS Dependency

Joe94
Associate II

Hello,

 

what do I wrong? 

 

I am trying to setup a new stm32f7xx project, with CMSIS_V2 and LWIP.

I use only the CubeMX application at the version 6.15.0, I have tried several hours to get this setting but nothing working.

If I select CMSIS_V1 the LWIP use the RTOS (WITH_RTOS is Enabled), if a switch to CMSIS_V2 it is disabled.

All settings are CubeMX default.

Joe94_0-1753131317903.png

Joe94_1-1753131376550.png

 

CubeMX says CMSIS_V2 is working with F7.

Joe94_2-1753131549084.png

 

 

Is this a bug at the CubeMX? Or what do I wrong?

 

 

thanks a lot. 

5 REPLIES 5
KnarfB
Super User

worked for me after enabling ETH and some  PHY. See attached .ioc

If you stll have trouble, specify your MCU and attach your .ioc.

hth

KnarfB

 

STackPointer64
ST Employee

Hello @Joe94, and welcome you to ST community,

The STM32F7 LwIP implementation provided by CubeMX and CubeFW currently does not support CMSIS V2. This is why when you switch to CMSIS V2, the LWIP RTOS integration (WITH_RTOS) is disabled, causing the issues you are experiencing. The existing STM32F7 LwIP stack is designed around CMSIS V1, so full CMSIS V2 compatibility is not available for this platform. Thank you.

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.

Hay,

 

yes I have tried it with the STM32F746 I can also select CMSIS_V2 and LWIP, but not with the STM32F767 :(

Hello,

 

When will LWIP be updated so that CMSIS_V2 is possible?

Do you know this?

 

Thanks :)

Hello @Joe94,

Thank you for your patience. After checking, there is currently no planned update for LwIP to support CMSIS_V2 on the STM32F7 series.

 

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.