<snip>
cyg_lwip_sequential_init();
cyg_lwip_thread_new( "My thread", m_main, (void *)"My thread",
my_stack, 0x1000, 5 );
...
...
<snip>
I'll enable more debugs to see where it's getting stuck.
After changing it to 2, it's able to find the interface (et0) with all
the right settings.
Well, that does not really make sense. cyg_lwip_sequential_init() will not
return until the lwip stack is initialized, and initializing ethernet device
drivers is part of that. This *must* work even when the TCPIP thread has
lower priority, as long as you start your application thread *after* the
execution of cyg_lwip_sequential_init(). By starting *after* I mean that you
also have to make sure that cyg_lwip_sequential_init() and starting your
applications thread is done in the same thread!
I hope I didn't miss the obvious here, but that's how it should work.