From 05cdcc1b6ecf64bd4f2fe99f4ae2fd2876809c49 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 26 Mar 2011 19:07:38 +0000 Subject: [PATCH] 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 --- Source/portable/IAR/MSP430X/portmacro.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. */ -- 2.39.5