mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-11 08:37:44 -04:00
Added the portALIGNMENT_ASSERT_pxCurrentTCB macro.
Updated the TriCore port layer so its compare match setup does not effect any other compare match bits.
This commit is contained in:
parent
f354d6599e
commit
188128f788
4 changed files with 42 additions and 11 deletions
|
@ -504,7 +504,7 @@ tskTCB * pxNewTCB;
|
|||
#endif
|
||||
|
||||
/* Check the alignment of the initialised stack. */
|
||||
configASSERT( ( ( ( unsigned long ) pxNewTCB->pxTopOfStack & ( unsigned long ) portBYTE_ALIGNMENT_MASK ) == 0UL ) );
|
||||
portALIGNMENT_ASSERT_pxCurrentTCB( ( ( ( unsigned long ) pxNewTCB->pxTopOfStack & ( unsigned long ) portBYTE_ALIGNMENT_MASK ) == 0UL ) );
|
||||
|
||||
if( ( void * ) pxCreatedTask != NULL )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue