]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/ARM_CM23_NTZ/non_secure/portmacro.h
Update version number ready for next release.
[freertos] / FreeRTOS / Source / portable / IAR / ARM_CM23_NTZ / non_secure / portmacro.h
index aacb3875d9c802288afda0431249f4bc372e06c1..969c56329f3e29020f396d199a05d690778d1bab 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * FreeRTOS Kernel V10.2.0\r
+ * FreeRTOS Kernel V10.2.1\r
  * Copyright (C) 2019 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
@@ -87,7 +87,7 @@ typedef unsigned long                                                                         UBaseType_t;
 /**\r
  * Architecture specifics.\r
  */\r
-#define portARCH_NAME                                                                          "Cortex-M33"\r
+#define portARCH_NAME                                                                          "Cortex-M23"\r
 #define portSTACK_GROWTH                                                                       ( -1 )\r
 #define portTICK_PERIOD_MS                                                                     ( ( TickType_t ) 1000 / configTICK_RATE_HZ )\r
 #define portBYTE_ALIGNMENT                                                                     8\r
@@ -97,6 +97,7 @@ typedef unsigned long                                                                         UBaseType_t;
        #define portFORCE_INLINE                                                                inline __attribute__(( always_inline ))\r
 #endif\r
 #define portHAS_STACK_OVERFLOW_CHECKING                                                1\r
+#define portDONT_DISCARD                                                                       __root\r
 /*-----------------------------------------------------------*/\r
 \r
 /**\r
@@ -111,8 +112,8 @@ extern uint32_t ulSetInterruptMaskFromISR( void ) /* __attribute__(( naked )) PR
 extern void vClearInterruptMaskFromISR( uint32_t ulMask ) /* __attribute__(( naked )) PRIVILEGED_FUNCTION */;\r
 \r
 #if( configENABLE_TRUSTZONE == 1 )\r
-       extern void vPortAllocateSecureContext( uint32_t ulSecureStackSize );\r
-       extern void vPortFreeSecureContext( uint32_t *pulTCB ) /* PRIVILEGED_FUNCTION */;\r
+       extern void vPortAllocateSecureContext( uint32_t ulSecureStackSize ); /* __attribute__ (( naked )) */\r
+       extern void vPortFreeSecureContext( uint32_t *pulTCB ) /* __attribute__ (( naked )) PRIVILEGED_FUNCTION */;\r
 #endif /* configENABLE_TRUSTZONE */\r
 \r
 #if( configENABLE_MPU == 1 )\r