lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] lwIP ported to 8051 !


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] lwIP ported to 8051 !
Date: Wed, 08 Jan 2003 22:00:52 -0000

Hi!

On Tuesday 09 October 2001 08:43, Hongsong Li wrote:
> I've ported lwIP 0.4 to 8051 based on uC/OS 1.09(which I've ported to 8051
> years ago). Both uC/OS and lwIP are compiled using Keil C51 6.14. Because
> the totoal code size is very large(nearly 60K including uC/OS, lwIP plus
> Echo Server Demo), I think it is suitable for demo rather than integrated
> into products. The basic network interface is loopback one, so the only
> serial port can be used as console to output debug information. The SLIP
> driver based on the serial port is also avaliable, and I've successfully
> "ping" the target under Windows 98.

This is great news! I'll add this to the information on the lwIP homepage. 
Would you be interested in contributing your work back to the lwIP codebase? 

Were there any particular issues with porting lwIP to the uC/OS? Since uC/OS 
natively supports semaphores and mailboxes, I would assume that you were able 
to implement a very "thin" OS emulation layer?

The 6502 (also 8-bit CPU) port of lwIP does not depend on any underlying OS, 
and does not support multiple threads. Applications run in the same thread as 
the TCP/IP code and uses callbacks to communicate with the TCP/IP stack. This 
way, it was possible to reduce the code size to around 40k. Would you say 
that this could be a viable approach for reducing code size for your 8051 
port?

/adam
-- 
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]




reply via email to

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