]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h
+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CM4F / portmacro.h
index 41f1fbc7d22c976853400ad047e9203920f75466..ae08cbf8ae2feabd19d2ba0012d0b4083054b5ff 100644 (file)
@@ -100,6 +100,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