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