]> begriffs open source - freertos/commit
MPU assert for ARM_CM3_MPU (#952)
authorIsaacDynamo <61521674+IsaacDynamo@users.noreply.github.com>
Thu, 18 Jan 2024 19:12:21 +0000 (20:12 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2024 19:12:21 +0000 (11:12 -0800)
commit52ab3d0f22bce9195bc965ebc56beec6d57a558b
tree7811e5b1ee5ef308550eb2e26f03024d5830863c
parentaa07289c24dd631a7d3d55781a9c5fa9017d5db8
MPU assert for ARM_CM3_MPU (#952)

* Add runtime check to see if the target even has a MPU

* Add missing extern symbols for __ARMCC_VERSION support

* Add default for configTOTAL_MPU_REGIONS and change a runtime assert to compile time error

* Simplify check and link to reference documentation

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
---------

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: jasonpcarroll <23126711+jasonpcarroll@users.noreply.github.com>
portable/GCC/ARM_CM3_MPU/port.c
portable/GCC/ARM_CM3_MPU/portmacro.h