From: richardbarry Date: Sat, 26 Mar 2011 19:07:38 +0000 (+0000) Subject: Add a portNOP() implementation and relax the stack alignment requirements in the... X-Git-Tag: V7.0.0~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05cdcc1b6ecf64bd4f2fe99f4ae2fd2876809c49;p=freertos Add a portNOP() implementation and relax the stack alignment requirements in the IAR MSP430X port layer. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1331 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/IAR/MSP430X/portmacro.h b/Source/portable/IAR/MSP430X/portmacro.h index faee6bd0d..0b7af26cd 100644 --- a/Source/portable/IAR/MSP430X/portmacro.h +++ b/Source/portable/IAR/MSP430X/portmacro.h @@ -141,10 +141,10 @@ extern void vPortYield( void ); /*-----------------------------------------------------------*/ /* Hardware specifics. */ -#define portBYTE_ALIGNMENT 4 +#define portBYTE_ALIGNMENT 2 #define portSTACK_GROWTH ( -1 ) #define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ ) -#define portNOP() +#define portNOP() __no_operation() /*-----------------------------------------------------------*/ /* Task function macros as described on the FreeRTOS.org WEB site. */