Skip to main content
Associate III
September 27, 2024
Solved

STME32CubeIDE + FreeRTOS - file "freertos_mpool.h" missing

  • September 27, 2024
  • 1 reply
  • 3874 views

Hello,

I am using STM32CubeIDE to compile under FreeRTOS a project to download in an ARM STM32F107VCT6 component installed on an Olimex board.
I am new to using STM32CubeIDE.
At first, I just want to run a very small program on the component to make a LED blinking on the board and just that.


I managed, with your help, to generate the basic code including main.c (it was necessary to do it a first time by going through STM32CubeMX)
Here, now, and without having added a single line of code of my own, I am trying to compile what has just been generated to see if everything goes well (right click on the project name then "Build Project")
It does not compile completely, there are errors.
The first one is this:
"../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c:33:10: fatal error: freertos_mpool.h: No such file or directory"
The file "freertos_mpool.h" is missing.
I looked, it is nowhere on my hard drive.
What is happening?
What should I do?
I want to make it clear that I did not do anything special. I only installed STM32CubeIDE, created a new project, initialized FreeRTOS by adding an empty task "BlinkTask" that will contain the code for blinking the LED. I then generated the code (with MX) and now I am only trying to compile it. That's all.

Thank you for your insight and help.

--

MDe / Belgium

Best answer by mƎALLEm

@mƎALLEm wrote:

Hello,

This is a known behavior already escalated internally. Internal ticket number 192161.


Issue fixed in CubeMX 6.13.0.

1 reply

mƎALLEm
Technical Moderator
September 27, 2024

Hello,

This is a known behavior already escalated internally. Internal ticket number 192161.

"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
mƎALLEmBest answer
Technical Moderator
December 2, 2024

@mƎALLEm wrote:

Hello,

This is a known behavior already escalated internally. Internal ticket number 192161.


Issue fixed in CubeMX 6.13.0.

"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."