Change the stack alignment when a task first starts in the CM4F GCC, Tasking and Keil ports.

This commit is contained in:
Richard Barry 2012-04-16 18:23:32 +00:00
parent 68289d136f
commit 63369b2a97
6 changed files with 20 additions and 6 deletions

View file

@ -140,6 +140,11 @@ extern void vPortExitCritical( void );
#define portENABLE_INTERRUPTS() portCLEAR_INTERRUPT_MASK()
#define portENTER_CRITICAL() vPortEnterCritical()
#define portEXIT_CRITICAL() vPortExitCritical()
/* There are an uneven number of items on the initial stack, so
portALIGNMENT_ASSERT_pxCurrentTCB() will trigger false positive asserts. */
#define portALIGNMENT_ASSERT_pxCurrentTCB ( void )
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */