FreeRTOS / FreeRTOS-Kernel

FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
https://www.FreeRTOS.org
MIT License
2.52k stars 1.05k forks source link

Add MPU V2 support to CMake build #951

Closed IsaacDynamo closed 6 months ago

IsaacDynamo commented 6 months ago

Add MPU V2 support to CMake

Description

The current CMakeList.txt doesn't include the mpu_wrappers_v2(_asm)?.c files into the build when a MPU port is selected. So following the Consume with CMake steps in the README fails.

This PR add the necessary files to the CMake build.

I'm not 100% sure if the GCC_ARM_CM(33|55|85)_TFM ports need the wrappers, can somebody confirm this?

Checklist:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud