Update the MSP430X CCS4 port layer.

This commit is contained in:
Richard Barry 2011-03-12 14:59:44 +00:00
parent 15c46025ab
commit 329c36c6bc
2 changed files with 3 additions and 4 deletions

View file

@ -126,7 +126,6 @@ unsigned long *pulTopOfStack;
pusTopOfStack--;
pulTopOfStack = ( unsigned long * ) pusTopOfStack;
*pulTopOfStack = ( unsigned long ) pxCode;
pusTopOfStack = ( unsigned short * ) pulTopOfStack;
}
pusTopOfStack--;

View file

@ -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. */