Created and tested optimised build configuration for the XMC4500 demo.

This commit is contained in:
Richard Barry 2012-04-06 19:47:30 +00:00
parent 6aa07ed919
commit a3b4008eae
5 changed files with 73 additions and 5 deletions

View file

@ -154,7 +154,10 @@ void vApplicationMallocFailedHook( void )
to query the size of free heap space that remains (although it does not
provide information on how the remaining heap might be fragmented). */
taskDISABLE_INTERRUPTS();
for( ;; );
for( ;; )
{
__asm volatile( "NOP" );
};
}
/*-----------------------------------------------------------*/
@ -181,7 +184,10 @@ void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName
configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2. This hook
function is called if a stack overflow is detected. */
taskDISABLE_INTERRUPTS();
for( ;; );
for( ;; )
{
__asm volatile( "NOP" );
}
}
/*-----------------------------------------------------------*/