configAssert = hal_debugger_breakpoint

This commit is contained in:
hathach
2013-09-18 20:56:29 +07:00
parent 243f197509
commit 8738902495
3 changed files with 19 additions and 9 deletions

View File

@@ -144,7 +144,7 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
/* Normal assert() semantics without relying on the provision of an assert.h
header file. */
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); hal_debugger_breakpoint(); }
/* FreeRTOS hooks to NVIC vectors */
#define xPortPendSVHandler PendSV_Handler