Skip to main content
Associate II
October 9, 2026
Question

LwIP with STM32C5 without RTOS

  • October 9, 2026
  • 2 replies
  • 27 views

Hello everyone,

I'm trying to develop an application with LwIP without an operating system using the STM32C5A3x.

When I set the LwIP operating system to “No OS,” I see some files in the CMake project that call FreeRTOSConfig.h, and the compilation fails.

 

 

Is anyone else experiencing the same problem?

 

I’d also like to ask if there’s any information about the release of a new version of STM32CubeMX2.

Thanks for help.

2 replies

Andrew Neil
Super User
October 9, 2026

 I see some files in the CMake project that call FreeRTOSConfig.h

You can’t “call” a header file.

 

and the compilation fails

How, exactly, does it fail ?

Is the project actually trying to use things from the header, or what ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
October 9, 2026

Hi Andrew,

 

I'm sorry, I didn't explain myself clearly regarding header.h.

 

When I try to compile the project using STM32CubeIDE, without making any changes, I get this error:

 

STM32C5_workspace/LWIP_EX/LWIP_Ex_cmake/misc/STMicroelectronics.freertos.2.2.0/include/FreeRTOS.h:58:10: fatal error: FreeRTOSConfig.h: No such file or directory

 

58 | #include “FreeRTOSConfig.h”

 

In the project tree, there is a folder named misc/STMicroelectronics.freertos.2.2.0.

I may be wrong, but I believe this folder should not have been created by CubeMX2, since LwIP is configured without FreeRTOS.