X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FSource%2Fportable%2FGCC%2FARM_CA9%2Fportmacro.h;h=c7d3e485a5dd5fe5dfe9099d286bfae8946ec3ce;hb=cb8206e1664b7430f25c392d2e2ee52236e10e75;hp=cb397eb720b61d37384cedbfeb085514f870d825;hpb=b473fddd0a6a35390132c46400b32af8c7ef36e9;p=freertos diff --git a/FreeRTOS/Source/portable/GCC/ARM_CA9/portmacro.h b/FreeRTOS/Source/portable/GCC/ARM_CA9/portmacro.h index cb397eb72..c7d3e485a 100644 --- a/FreeRTOS/Source/portable/GCC/ARM_CA9/portmacro.h +++ b/FreeRTOS/Source/portable/GCC/ARM_CA9/portmacro.h @@ -96,6 +96,10 @@ typedef unsigned long UBaseType_t; typedef uint32_t TickType_t; #define portMAX_DELAY ( TickType_t ) 0xffffffffUL +/* 32-bit tick type on a 32-bit architecture, so reads of the tick count do +not need to be guarded with a critical section. */ +#define portTICK_TYPE_IS_ATOMIC 1 + /*-----------------------------------------------------------*/ /* Hardware specifics. */