From: richardbarry Date: Mon, 22 Sep 2008 13:13:03 +0000 (+0000) Subject: Add assert required for linking. X-Git-Tag: V5.1.2~222 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cec213d732e040f4291b05929808a140416ce0b4;p=freertos Add assert required for linking. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@474 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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(;;) + ; +}