]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/CCS/ARM_Cortex-R4/portmacro.h
+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
[freertos] / FreeRTOS / Source / portable / CCS / ARM_Cortex-R4 / portmacro.h
index ea8f4cc92d7d79f1cce9cbcfe6d9b5eeffa853ba..d774697270c700f4e97a5b1260269160362ccbc1 100644 (file)
@@ -95,6 +95,10 @@ typedef unsigned long UBaseType_t;
 #else\r
     typedef uint32_t TickType_t;\r
     #define portMAX_DELAY (TickType_t) 0xFFFFFFFFF\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