|
From: | Grubb, Jared |
Subject: | RE: [lwip-devel] implementing Lwip on an cooperative RTOS |
Date: | Tue, 11 Nov 2008 07:29:16 -0800 |
Have you seen the lwIP wiki? It has a page that describes more
about how to port lwip to an OS: http://lwip.wikia.com/wiki/Porting_for_an_OS If you still have questions, let us know! Jared From:
address@hidden
[mailto:address@hidden On Behalf Of Cor
v.d. Smissen Hi, I
am preparing on integrating Lwip in our proprietary cooperative RTOS using
an Renesas M32C MCU. Semaphores,
Mailboxes, Threads etc. are no problem. I've already ported these. Does
anybody have some hints on how to deal with implementing "sys_timeouts" in "sys_arch.c" ? Our threads do not have linked lists of timeouts that i can
use... Do i need to insert task switch code (call the scheduler)
in the Lwip code manually in order to gain control again? How can i control the timing? As far as i can see now, i need to write a thread that takes
care of all the cyclic stuff. Am i right? An
example of sys_arch.c would be greatly appreciated.
|
[Prev in Thread] | Current Thread | [Next in Thread] |