2026-01-19 6:41 AM
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_V2
Can't change NO_OS parameter
CubeMX 6.16.1, Firmware F7_V1.17.4
2026-01-19 6:44 AM - edited 2026-01-19 7:14 AM
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
2026-01-19 6:57 AM
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?
2026-01-19 7:09 AM
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
2026-01-19 7:58 AM
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.