On Wed, Jul 18, 2012 at 5:23 AM, Nico Sachs <[email protected]> wrote:
> Does someone have an idea whats wrong here?

Try this bit of code

#define LWIP_PLATFORM_ASSERT( x ) sys_assert( x )
#define LWIP_PLATFORM_DIAG( x, ... ) do{ sys_debug x; } while( 0 );

void
sys_assert( const char *msg )
{
    tmpbuf[256];
    sprintf(tmpbuf,msg);
    SCI2_PullString(tmpbuf);
}

void
sys_debug( const char *const fmt, ... )
{
    va_list         args;
    tmpbuf[256];

    va_start( args, fmt );
    vsprintf(tmpbuf, fmt, args);
    va_end( args );

    SCI2_PullString(tmpbuf);
}



----
Regards
Paul Archer
[email protected]

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to