]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/RX100/portmacro.h
+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
[freertos] / FreeRTOS / Source / portable / IAR / RX100 / portmacro.h
index de93d76ca9fac5c7a01a3e196f507a4d60a60095..18a79fd3e949eb8bfc3b3611177231abc38b9f33 100644 (file)
@@ -107,6 +107,10 @@ typedef unsigned long UBaseType_t;
 #else\r
        typedef uint32_t TickType_t;\r
        #define portMAX_DELAY ( TickType_t ) 0xffffffffUL\r
+\r
+       /* 32-bit tick type on a 32-bit architecture, so reads of the tick count do\r
+       not need to be guarded with a critical section. */\r
+       #define portTICK_TYPE_IS_ATOMIC 1\r
 #endif\r
 /*-----------------------------------------------------------*/\r
 \r