Update compiler version and add configASSERT() to PIC32 MPLAB X project.

This commit is contained in:
Richard Barry 2013-07-12 19:21:10 +00:00
parent ad8fa53043
commit 25310a6796
9 changed files with 103 additions and 83 deletions

View file

@ -231,3 +231,21 @@ void _general_exception_handler( unsigned long ulCause, unsigned long ulStatus )
}
/*-----------------------------------------------------------*/
void vAssertCalled( const char * pcFile, unsigned long ulLine )
{
volatile unsigned long ul = 0;
( void ) pcFile;
( void ) ulLine;
taskENTER_CRITICAL();
{
/* Set ul to a non-zero value using the debugger to step out of this
function. */
while( ul == 0 )
{
portNOP();
}
}
taskEXIT_CRITICAL();
}