Re: [AVR-Chat] uIP "applications"
2005-04-20 by Jim Wagner
Chuck - The following is a wild guess as I have not done this on a micro. My guess is that the term "application", in this context, may not be a good fit in the micro world. You will need to do the required user interface and such, but it probably is not useful to attach the name "application" to it. That is because the name, itself, has certain connotations, often representing an independently loadable software module. In this case, I think you will need to create a single code block with the "applications" written as an integral part of the project. With this tighter coupling, you may also be able to reduce the buffer requirments which will be very tight in an M16. Not needing additional buffers going in and out of each app would really help, and you ought to be able to do that with a more monolythic project. Dunno if this helps. Hope it does. Jim Wagner On Wed, 20 Apr 2005 16:37:09 -0500 "Chuck Hackett" <egroupscdh@WhiteTrout.net> wrote: > > Is anyone familiar with uIP? I have downloaded the > AVR port from: > > http://www.laskater.com/projects/uipAVRgettingstarted.htm > > and the small test application compiled and ran first > time (trial version of > ImageCraft compiler but it also has #ifdef to support > gcc). The only change I > had to make was to reduce a buffer declaration to get it > to fit in the SRAM on > an ATMega16. So far I'm impressed. One of the > main reasons I tried it was that > it supported the ASIX Ethernet controller chip that's on > the board I have. > > Question: I'd like to compile in two > "applications" as uIP refers to them but > I'm a bit confused about how to structure the main module > so that each has the > correct contexts. The two I want to compile in are > the SMTP and Web Server > modules. I don't want you to write the code for me, > I just need some guidance > in how one compiles in two "applications" as > opposed to one: > > - setting them up so they each have the appropriate > context globals) > > - routing uIP events to the appropriate application > > Any pointers would be appreciated ... single indirection > only, let's keep it > simple :-) > > Cheers, > > Chuck Hackett > "Good judgment comes from experience, experience > comes from bad judgment" > 7.5" gauge Union Pacific Northern (4-8-4) 844 > http://www.whitetrout.net/Chuck > > > > > > > > > > > > Yahoo! Groups Links > > To visit your group on the web, go > to:http://groups.yahoo.com/group/AVR-Chat/ > To unsubscribe from this group, send an email > to:AVR-Chat-unsubscribe@yahoogroups.com > Your use of Yahoo! Groups is subject to the Yahoo! Terms > of Service. > > > > > > > > > > > --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear ---------------------------------------------------------------