|
|
@ -301,13 +301,13 @@
|
|
|
|
* number of the failing assert (for example, "vAssertCalled( __FILE__, __LINE__ )"
|
|
|
|
* number of the failing assert (for example, "vAssertCalled( __FILE__, __LINE__ )"
|
|
|
|
* or it can simple disable interrupts and sit in a loop to halt all execution
|
|
|
|
* or it can simple disable interrupts and sit in a loop to halt all execution
|
|
|
|
* on the failing line for viewing in a debugger. */
|
|
|
|
* on the failing line for viewing in a debugger. */
|
|
|
|
#define configASSERT( x ) \
|
|
|
|
#define configASSERT( x ) \
|
|
|
|
if( ( x ) == 0 ) \
|
|
|
|
if( ( x ) == 0 ) \
|
|
|
|
{ \
|
|
|
|
{ \
|
|
|
|
taskDISABLE_INTERRUPTS(); \
|
|
|
|
taskDISABLE_INTERRUPTS(); \
|
|
|
|
for( ; ; ) \
|
|
|
|
for( ;; ) \
|
|
|
|
; \
|
|
|
|
; \
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************/
|
|
|
|
/******************************************************************************/
|
|
|
|
/* Cortex-M MPU specific definitions. *****************************************/
|
|
|
|
/* Cortex-M MPU specific definitions. *****************************************/
|
|
|
|