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.