cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to make LwIP work with FreeRTOS using CMSIS_V2

_AdamNtrx
Associate III

Hello!

I have encountered a problem - I am unable to create a project for STM32F769I-DISCO board with both FreeRTOS using CMSIS_V2 interface and LwIP with NO_SYS parameter set to "OS Used".

In old project that was setup with STM32CubeMX V6.14.0 using STM32Cube FW-F7 V1.17.2 I had no problem with setting both CMSIS_V2 and "OS Used" value.
In new project that uses STM32CubeMX V6.16.1 and STM32Cube FW_F7 V1.14.4 I have to use CMSIS_V1 interface for FreeRTOS if I want to change LwIP's NO_SYS parameter to "OS Used".

Did something change in recent updates, is it a bug or am I doing something wrong? Thank You for help in advance.

 

Using FreeRTOS with CMSIS_V2Using FreeRTOS with CMSIS_V2

Can't change NO_OS parameterCan't change NO_OS parameter

CubeMX 6.16.1, Firmware F7_V1.17.4CubeMX 6.16.1, Firmware F7_V1.17.4

4 REPLIES 4
mƎALLEm
ST Employee

Hello,

The CMSIS_V2 API is not supported for the STM32F7 series when using LWIP. Please use CMSIS_V1.

Please refer to this knowledge base article: Implementing a LwIP and FreeRTOS™ v1 UDP echo server on the STM32F7 series 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Thank You for very quick response. However, your answer makes me raise two questions: how is it possible that my old project allowed me to use CMSIS_V2 and LwIP simultaneously? And why am I able to choose CMSIS_V2 in CubeMX for my project using F7 board if F7 series supports only CMSIS_V1?

I don't know for CubeMx but for STM32F7 and by using LWIP, you need to use CMSIS_V1 instead of CMSIS_V2.

Refer to this thread: CubeMX FREERTOS CMSIS_V2 LWIP - RTOS Dependency

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
mƎALLEm
ST Employee

After checking internally, the STM32F7 LwIP implementation (CubeFW and CubeMX) has not been updated to CMSIS V2. Since the product is currently under limited and reduced maintenance, there are no plans to perform this update for the moment. That confirms my saying above.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.