Skip to content

Error building for STM32F767ZI: Could NOT find FreeRTOS (missing: FreeRTOS_INCLUDE_DIRS) #150

Closed
@cnboonhan

Description

I am attempting to build a project that includes FreeRTOS ( using find_package(FreeRTOS REQUIRED) in CMakeLists.txt ). I encounter an error during this as FreeRTOS_INCLUDE_DIRS is not found.

It seems the portmacro.h header for ARM_CM7 is nested under the r0p1 folder, as seen here, but the corresponding line in FindFreeRTOS.cmake does not reflect this.

Changing this line to look like this line seems to solve this issue.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions