lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Is the API functional with NO_SYS=1?


From: Bill Auerbach
Subject: [lwip-users] Is the API functional with NO_SYS=1?
Date: Wed, 2 Jan 2008 16:05:18 -0500

Hello group – Happy New Year!

 

I’m still going down the path of using NO_SYS=1 in my application, but I’m beginning to think because I’m in apparently less-traveled territory here that this may turn out to be a bad idea.

 

The question is, are the APIs functional with NO_SYS=1?  netconn_accept doesn’t block and so I wonder if this is wrong or if the APIs aren’t meant for no OS.  I can run in a loop calling functions as needed, based on their timeout intervals, and DHCP finds an IP address and then I can Ping successfully.  So lwIP is otherwise functional as I’ve implemented it with NO_SYS=1.

 

If NO_SYS=1 isn’t a good idea, what can be done for a minimal lwIP single threaded application to emulate an OS?  I now can periodically call the lwIP timing functions (tcp_tmr, arp_timer, ip_reass_tmr, dhcp_fine_tmr, and dhcp_coarse_tmr) as needed watching an mS free running counter.

 

Thank you,

Bill Auerbach

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]