From cec213d732e040f4291b05929808a140416ce0b4 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 22 Sep 2008 13:13:03 +0000 Subject: [PATCH] Add assert required for linking. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@474 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../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(;;) + ; +} -- 2.39.5