diff --git a/boards/arm/nrf91/common/src/nrf91_boot_image.c b/boards/arm/nrf91/common/src/nrf91_boot_image.c index 6051477f6c..a717430b2c 100644 --- a/boards/arm/nrf91/common/src/nrf91_boot_image.c +++ b/boards/arm/nrf91/common/src/nrf91_boot_image.c @@ -56,7 +56,7 @@ ****************************************************************************/ #ifdef CONFIG_NRF91_NONSECURE_BOOT -typedef void cmse_nonsecure_call nsfunc(void); +typedef void tz_nonsecure_call nsfunc(void); #endif /* This structure represents the first two entries on NVIC vector table */ diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 41dcca4213..2621584c56 100644 --- a/include/nuttx/compiler.h +++ b/include/nuttx/compiler.h @@ -491,8 +491,8 @@ /* CMSE extention */ # ifdef CONFIG_ARCH_HAVE_TRUSTZONE -# define cmse_nonsecure_entry __attribute__((cmse_nonsecure_entry)) -# define cmse_nonsecure_call __attribute__((cmse_nonsecure_call)) +# define tz_nonsecure_entry __attribute__((cmse_nonsecure_entry)) +# define tz_nonsecure_call __attribute__((cmse_nonsecure_call)) # endif /* SDCC-specific definitions ************************************************/