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:
[ ] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.
[x] I have tested my changes ONLY with GCC_ARM_CM3_MPU.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
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 theConsume 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.