MCU/stm32

[FreeRTOS] freertos_mpool.h, freertos_os2.h No such file or directory issue

JaewonAhn 2025. 1. 19. 08:38

서론

stm32cubeIDE에서 freertos를 사용하려고 하면 

 

"freertos_mpool.h"

"freertos_os2.h" 

 

위 두 헤더파일이 없어 빌드가 안 되는 상황이 발생한다. 

다른 경로에 파일이 있긴한데 프로젝트 경로로 옮겨줘도 다른 에러가 나온다.

 

 

 

해결 방법

 

펌웨어 버전을 1.8.5 버전으로 바꾸면 해결됨 

 

STM32CubeMX 6.13.0 버전에서는 해결된 문제라고 하네요

 

출처

https://community.st.com/t5/stm32cubeide-mcus/problems-with-stm32f103zet6-using-stm2cubeide-to-build-freertos/td-p/712300?lightbox-message-images-712300=85895i03A267CFF0FF44D3