Simon, Sure. Please feel free to update as appropriate. I've kept half an eye on the development of 1.4.0 but given the time frames, I haven't been in a position to upgrade the lwip version in my product (and probably won't be able to any time soon).
Yes, the "mch_ip_addr" is simply a typedef for the lwip 'struct ip_addr'. I just updated the sample to get rid of that. Thanks, Jeff On Fri, Nov 5, 2010 at 1:35 PM, Simon Goldschmidt <[email protected]> wrote: > Great job, thanks for that! > There are a few things I would change though, if it's OK for you (and when I > find the time): > - lwIP 1.4.0 provides ready-to-use functions for timers, so there's no need > to implement that yourself > - you used the type mch_ip_add, which is not defined anywhere - later, this > type is implicitly casted struct ip_addr > > Other than that, a great example! > > Simon > > > Jeff Barber <[email protected]> wrote: > >> Done. New page on the wiki at >> http://lwip.wikia.com/wiki/Porting_For_Bare_Metal >> >> >> On Thu, Nov 4, 2010 at 3:50 PM, Kieran Mansley <[email protected]> wrote: >>> >>> On 4 Nov 2010, at 17:55, Jeff Barber wrote: >>> >>>> I went through this learning curve last year and did essentially the >>>> same thing (for a very different board environment). The basic steps >>>> are: >>> >>> This is a very useful guide to what is needed for those new to the stack. >>> Would you like to add it (or a similar version) to the wiki? >> >> _______________________________________________ >> 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 > _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
