1. Project Structure...
/apps/ // exactly like Jesper mentioned
/arch/ // Main directory for uC models, brands etc... dont forget
that maybe someone want to use this code to port it to other uC, by
this way we can also share it to other uC...
/drivers/ // here we should put all ethernet drivers, maybe inside
this directory we should put another one called "eth" (for enc28j60,
etc) and other (for example) "mmc" to add mmc/sd support, "lcd" to add
lcd support, etc.
/uip/ // well-known uip code
/main.c and config.c // like jesper said
/makefile // never forget this... :)
Perhaps a discussion regarding if configurations should be made from
makefile or in header-file.
3. Coding StyleWell, I agree with you guy... How the code looks is not that important to me either, besides we can always clean that up... But documentation is very important, I don't have any experience with doxygen, but can't take long to learn the tags...
4. Licensing
I dont know anything about this, I think that we should select our
license in google code as GPL... then each file from other people with
other licenses will be mentioned on the header of each file.
Also we should advice about this in our readme or license file...
"this project is GPL, some files from other authors vary from this"
It's fine for me the change on the google code, also I dont know it
very well, I think that all should be "Owners" of the group? I dont
know, just do what you think is the best.
We will change this when we have a more big idea.
Can I attach here my zip file? I dont know if it will work... please
tell me.
Regards,
--
Jonathan Granade
WebCom-Design
Jonas Finnemann Jensen wrote:
> I think it's just a temporary description... I guess we'll be editing
> it later once we know more about what it's been based on...
>
> The delay things are implemented in avr-libc, I used them in my port
> they worked just fine there, also enc28j60... :)
>
> --
> Regards Jonas Finnemann Jensen.
>
> On Wed, Apr 23, 2008 at 9:58 PM, Jesper <jder...@hotmail.com
> <mailto:jder...@hotmail.com>> wrote:
>
>
> I took a look at the code-page and had som questions..
>
> What part is based on "AVR port by Louis Beaudoin AVR Port
> (www.embedded-creations.com <http://www.embedded-creations.com>) "
> Nothing from my "branch" uses anything from him..
>
> In the parts I sent to Jonathan only uIP and the ENC28j60 driver from
> pascal stang is used..
> And delay.h & delay.c is from "Jesper Hansen
> <jesperh@....snipp....>".. However that part can probably
> just be removed, and is easaly replaced.. Only place its used i think
> is in the enc-driver.. and one could just as easaly use a timer... or
> we can implement our own delay... I think the less external code the
> better...
>
> On 23 Apr, 19:37, "Jonas Finnemann Jensen" <jop...@gmail.com
> <jop...@gmail.com <mailto:jop...@gmail.com>>
Can I attach here my zip file? I dont know if it will work... please
tell me.
I made a mistake... I have a 0.9 port of uip... not 1.0.
When I took the jesper code I spent some hours trying to compile it...
without success, so I decided to take the code I needed from there to my
current working uip-avr... later that I did the same with the mmc/sd
driver from jonas.
So, which I attach here is a uip-avr port version 0.9 which was done by
first time by Louis Beaudoin, with a driver for enc28j60, mmc/sd support
from jonas and timer changes by jesper.
Yes, It's like Frankestein... but it works and compile... so let's see
if we will be using this code or maybe jesper port from uip 1.0.
Regards,
PS: Please sorry about the code... it's not clean, but during test I
dont mind in that...
--
Jonathan Granade
WebCom-Design
> > <mailto:jder...@hotmail.com <mailto:jder...@hotmail.com>>> wrote:
> >
> >
> > I took a look at the code-page and had som questions..
> >
> > What part is based on "AVR port by Louis Beaudoin AVR Port
> > (www.embedded-creations.com
> <http://www.embedded-creations.com>
> <http://www.embedded-creations.com>) "
> > Nothing from my "branch" uses anything from him..
> >
> > In the parts I sent to Jonathan only uIP and the ENC28j60
> driver from
> > pascal stang is used..
> > And delay.h & delay.c is from "Jesper Hansen
> > <jesperh@....snipp....>".. However that part can probably
> > just be removed, and is easaly replaced.. Only place its
> used i think
> > is in the enc-driver.. and one could just as easaly use a
> timer... or
> > we can implement our own delay... I think the less external
> code the
> > better...
> >
> > On 23 Apr, 19:37, "Jonas Finnemann Jensen" <jop...@gmail.com
> <mailto:jop...@gmail.com>
> > <mailto:jop...@gmail.com <mailto:jop...@gmail.com>>> wrote:
> > > Google code has a wiki, I think it would be great for
> > system/design/"project
> > > structure" docs/specs... Alternately we might be able to write
> > it as static
> > > doxygen pages in the documentation, anybody know if that's
> > possible and
> > > how...
> > >
> > > I think it's important to have such specs too...
> > >
> > > By the way, do you have a google account so we can add you to
> > the GoogleCode
> > > project?http://code.google.com/p/avr-uip/
> > >
> > > --
> > > Regards Jonas Finnemann Jensen.
> > >
> > >
> > >
> > > On Wed, Apr 23, 2008 at 7:28 PM, Jesper
> <jdere...@hotmail.com <mailto:jdere...@hotmail.com>
> > <mailto:jdere...@hotmail.com <mailto:jdere...@hotmail.com>>>
> wrote:
> > >
> > > > Sounds great..
> > >
> > > > We should probably have a doc catagory too.
> > > > Containing design/system spec. and things like that...
> > >
> > > > Its easy too become lazy and skip it but those things are
> > invalueable
> > > > for other developers when trying to start their own
> > development inside
> > > > the project..
> > > > Dont know how google group works, is it possible to make the
> > docs a
> > > > separate "product" or should we put it in the same SVN
> as source?
> > >
> > > > I would gladly sit down and write a system spec. for it, but
> > > > unfortunatly I will be very busy the next couple of weeks..
> > > > I have major releases to do at work, and a thesis to finish
> > all in the
> > > > end of may.. So its gonna be a busy month.. =)
> > >
> > > > regards
> > >
> > > > /Jesper
> > >
> > > > On Apr 23, 1:10 pm, "Jonas Finnemann Jensen"
> <jop...@gmail.com <mailto:jop...@gmail.com>
> > <mailto:jonathan.web...@gmail.com
> <mailto:jonathan.web...@gmail.com>>> wrote:
> > >
> > > > > > Glad to hear that!!
> > >
> > > > > > I have a functional port of uip1.0, running into an
> > ATmega32 with
> > > > > > ENC28J60, also a mmc/sd with fat support from Jesper.
> > > > > > It's working fine for me, I did a few changes, but maybe
> > we can work
> > > > > > over this? just let me know and I will sent them to
> you...
> > >
> > > > > > It's fine for me the change on the google code, also I
> > dont know it
> > > > > > very well, I think that all should be "Owners" of the
> > group? I dont
> > > > > > know, just do what you think is the best.
> > >
> > > > > > Regards,
> > >
> > > > > > Jonathan
> > >
> > > > > > On Apr 22, 7:56 am, "Jop... (Jonas F. Jensen)."
> > <jop...@gmail.com <mailto:jop...@gmail.com>
> <mailto:jop...@gmail.com <mailto:jop...@gmail.com>>>
talk later!
--
Jonathan Granade
WebCom-Design
> <mailto:jonatha...@gmail.com
I think that before doing nothing, and if we will use that zip i sent,
we need to prepare the structure.