From ed240e58a1fcf59b1a097d83f1638d673622efd8 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Mon, 22 Sep 2008 13:13:03 +0000 Subject: [PATCH] Add assert required for linking. --- .../lwIP_130/contrib/port/FreeRTOS/sys_arch.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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(;;) + ; +}