diff --git a/Demo/Common/ethernet/lwIP_130/contrib/port/FreeRTOS/sys_arch.c b/Demo/Common/ethernet/lwIP_130/contrib/port/FreeRTOS/sys_arch.c index 9baf73580..0fc4274b8 100644 --- a/Demo/Common/ethernet/lwIP_130/contrib/port/FreeRTOS/sys_arch.c +++ b/Demo/Common/ethernet/lwIP_130/contrib/port/FreeRTOS/sys_arch.c @@ -422,3 +422,16 @@ void sys_arch_unprotect(sys_prot_t pval) vPortExitCritical(); } +/* + * Prints an assertion messages and aborts execution. + */ +void sys_assert( const char *msg ) +{ + /*FSL:only needed for debugging + printf(msg); + printf("\n\r"); + */ + vPortEnterCritical( ); + for(;;) + ; +}