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
Solved! Go to Solution.
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: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.
2026-01-20 12:10 AM
All right, thank You. May I ask where is it noted that STM32F7 series doesn't support CMSIS_V2? Also I still wonder why older CubeMX allowed me to run LwIP with FreeRTOS using CMSIS_V2 and newer doesn't allow this, and both CubeMX versions allow to choose CMSIS_V2 even though it is not supported.
2026-01-20 12:40 AM
"Allows you" doesn't mean it's possible in real.
I will ask for a possibility to add a warning in CubeMx telling the user that's not possible to select LWIP+CMSIS V2 when he selects STM32F7 product. I'll get back to you for the team feedback.
2026-01-20 1:22 AM - last edited on 2026-04-20 2:31 AM by Andrew Neil
Thank You. I will mark one of Your responses as a solution. If only You could tell me where I can find information which STM32 series support specific CMSIS interfaces and which do not, I would be thankful.
EDIT: New thread for that question:
Where to look for information if specific STM32 MCU supports specific CMSIS version?