diff options
Diffstat (limited to 'nuttx/arch/arm/src/kinetis/kinetis_mpuinit.c')
-rw-r--r-- | nuttx/arch/arm/src/kinetis/kinetis_mpuinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/kinetis/kinetis_mpuinit.c b/nuttx/arch/arm/src/kinetis/kinetis_mpuinit.c index bd81374ff..07ea72229 100644 --- a/nuttx/arch/arm/src/kinetis/kinetis_mpuinit.c +++ b/nuttx/arch/arm/src/kinetis/kinetis_mpuinit.c @@ -46,7 +46,7 @@ #include "mpu.h" #include "kinetis_mpuinit.h" -#if defined(CONFIG_NUTTX_KERNEL) && defined(CONFIG_ARMV7M_MPU) +#if defined(CONFIG_BUILD_PROTECTED) && defined(CONFIG_ARMV7M_MPU) /**************************************************************************** * Private Definitions @@ -120,5 +120,5 @@ void kinetis_mpu_uheap(uintptr_t start, size_t size) mpu_userintsram(start, size); } -#endif /* CONFIG_NUTTX_KERNEL && CONFIG_ARMV7M_MPU */ +#endif /* CONFIG_BUILD_PROTECTED && CONFIG_ARMV7M_MPU */ |