Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] OT: PPP implementation for uIP

2005-12-07 by Joel Winarske

> uIP side tweaks:
> 1. Tweak slipdev_char_poll() and slipdev_char_put() for target
> 2. The next code line after while(1) in main.c has a typo, should be
> "uip_len = slipdev_poll();"
> 3. Implement Windows connect handshake "CLIENT"/"CLIENTSERVER" in
> slipdev_poll()
> 4. Comment out the Ethernet header struct, as SLIP does not implement
this.
> 5. Remove all references to ARP since you don't need this with SLIP.
> 6. In uipopt.h change #define UIP_LLH_LEN from 14 to 0.
> 7. Change IP address to suite your network.

I forgot to mention IAR needed some tweaks in fsdata.c and there was also
some alignment packing required.

The lwIP PPP code looks to be much cleaner, and perhaps a better port than
the Ethernut implementation.  It appears the lwIP PPP implementation was
pulled from uC/OS-Net.  http://ucip.sourceforge.net/


Joel

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.