Added portASSERT_IF_INTERRUPT_PRIORITY_INVALID() implementation to Cortex-M3 and Cortex-M4F ports.

This commit is contained in:
Richard Barry 2013-07-04 11:20:28 +00:00
parent b521d70e7e
commit c4eef61d39
15 changed files with 748 additions and 7 deletions

View file

@ -170,6 +170,13 @@ not necessary for to use this port. They are defined so the common demo files
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*-----------------------------------------------------------*/
#ifdef configASSERT
void vPortValidateInterruptPriority( void );
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority()
#else
#define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
#endif
/* portNOP() is not required by this port. */
#define portNOP()