]> git.sur5r.net Git - freertos/commitdiff
Add a portNOP() implementation and relax the stack alignment requirements in the...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 26 Mar 2011 19:07:38 +0000 (19:07 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 26 Mar 2011 19:07:38 +0000 (19:07 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1331 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/IAR/MSP430X/portmacro.h

index faee6bd0da6c6863ffd02e7a0a9c4ab68bc7332f..0b7af26cdf947a9febc05fd8183691f0334c3f71 100644 (file)
@@ -141,10 +141,10 @@ extern void vPortYield( void );
 /*-----------------------------------------------------------*/\r
 \r
 /* Hardware specifics. */\r
-#define portBYTE_ALIGNMENT                     4\r
+#define portBYTE_ALIGNMENT                     2\r
 #define portSTACK_GROWTH                       ( -1 )\r
 #define portTICK_RATE_MS                       ( ( portTickType ) 1000 / configTICK_RATE_HZ )  \r
-#define portNOP()      \r
+#define portNOP()                                      __no_operation()\r
 /*-----------------------------------------------------------*/\r
 \r
 /* Task function macros as described on the FreeRTOS.org WEB site. */\r