]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CA9/portmacro.h
+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CA9 / portmacro.h
index b15097d573fd084bce0fc58a0d2c4bb5740bde36..c7d3e485a5dd5fe5dfe9099d286bfae8946ec3ce 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.1.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd.\r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
@@ -96,6 +96,10 @@ typedef unsigned long UBaseType_t;
 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
+\r
 /*-----------------------------------------------------------*/\r
 \r
 /* Hardware specifics. */\r
@@ -162,6 +166,10 @@ void vPortTaskUsesFPU( void );
 #define portLOWEST_USABLE_INTERRUPT_PRIORITY ( portLOWEST_INTERRUPT_PRIORITY - 1UL )\r
 \r
 /* Architecture specific optimisations. */\r
+#ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION\r
+       #define configUSE_PORT_OPTIMISED_TASK_SELECTION 1\r
+#endif\r
+\r
 #if configUSE_PORT_OPTIMISED_TASK_SELECTION == 1\r
 \r
        /* Store/clear the ready priorities in a bit map. */\r