lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] porting LwIP to NXP LPC1768


From: Paul Preuß
Subject: [lwip-users] porting LwIP to NXP LPC1768
Date: Wed, 4 May 2011 18:51:48 +0200

Hi,
 
I'm trying to port the LwIP (1.4.0 RC2) to an NXP LPC1768 / Cortex M3. I'm using the LwIP implementation from ST as a template, but they are using ver. 1.3.
 
I finished the ethernetif.c file for now, but I have some problems with the timers.
There is no OS, so I defined NO_SYS == 1 and now I have to include timers.c to the project otherwise "tcp_timers_needed()" is undefined and i have to implement a "sys_now() function". Goldsimon wrote me, that I only need that for NO_SYS == 0? I'm confused.
 
The ST implementation on ver. 1.3 implements timers for every protocol. Is it correct, that this is now done by "sys_check_timeouts()" automatically?
 
Which init_functions do I have to call and is there special order?
Is there somewhere an overview about the functions and where and when they get called? Especially function called from interrupts?
 
Thank you for your help.
 

Paul

reply via email to

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