Hi again,

The drivers in FreeRTOS are interrupt (and I think DMA (?)) driven.  The
driver moves a packet into a buffer pointed to by a chain of DMA
descriptors, thats it.  I don't see why the driver would not be agnostic
of the stack it is being used with - the packets coming in off the
network will be the same - the reception and buffering of the packets by
the DMA will be the same - only how the packets are read from the
buffers by the stack will be different and that is not part of the
driver but part of the stack.


Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers.  More than 7000 downloads per month.

+ http://www.SafeRTOS.com
Certified by TÜV as meeting the requirements for safety related systems.



On 03/02/2011 20:57, Bernard Mentink wrote:
> Hi There,
> 
> Yes, I do have uIP working on the LPC1766, so I can use their drivers
> ... they don't use interrupts, just polling, so will need to do some
> hacking there
> (I am also using it with QP OS so every thing needs to be event based ..)
> 
> Reason I am asking, is to try and save myself the work of porting the
> uIP driver to lwIP, which does need a chunk of work .. so if anyone has
> done it, that would be cool?
> 
> Cheers,
> Bernie
> 
> On Fri, Feb 4, 2011 at 9:34 AM, FreeRTOS Info <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hi,
> 
>     If you look at the LPC1768 demos in the FreeRTOS download you will find
>     uIP demos, but the drivers are probably just as relevant to lwIP.
> 
>     Regards,
>     Richard.
> 
>     + http://www.FreeRTOS.org
>     Designed for Microcontrollers.  More than 7000 downloads per month.
> 
>     + http://www.SafeRTOS.com
>     Certified by TÜV as meeting the requirements for safety related systems.
> 
> 
> 
>     On 03/02/2011 19:09, Bernard Mentink wrote:
>     > Hi all,
>     >
>     > Does anyone have a port to this family of micros? I guess I am just
>     > wanting the eth_driver.c and eth_driver.h files ...
>     >
>     > Many Thanks,
>     > Bernie
>     >
>     > --
>     > You always have believers and scepticts.. A True inventor is always a
>     > believer..
>     >
>     >
>     >
>     > _______________________________________________
>     > lwip-users mailing list
>     > [email protected] <mailto:[email protected]>
>     > http://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 
>     _______________________________________________
>     lwip-users mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 
> 
> 
> -- 
> You always have believers and scepticts.. A True inventor is always a
> believer..
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to