On Sun, Apr 06, 2008 at 04:10:36PM +0200, Ake Hedman wrote:
> Randall Nortman wrote:
> > On Sun, Apr 06, 2008 at 08:38:04AM +0200, Bo Berglund wrote:
> > [...]
> >> Anyway, back to my original question:
> >> Is there a Contiki for the ARM processor architecture or is Contiki
> >> strictly for limited resource CPU:s???
> > I haven't done a full contiki port, but I've compiled uIP and
> > protothreads alone on an ARM7 CPU. It was pretty straightforward --
> > only a few platform-specific functions to define, and of course a MAC
> > driver for my particular Ethernet device. I think a full contiki
> > build would have a little more work to do, but I know of no reason you
> > can't use it on a 32-bit architecture like this.
> Interested in this port. Something you can share?
I could, but as I said, I'm using only uIP and protothreads, not
full-blown contiki. Protothreads was trivial -- it just compiles and
runs with no modification (IIRC). uIP required me to write a MAC
driver for my chip (AT91SAM7X, which includes a MAC on the CPU) and
implement some other small functions -- a 32-bit addition function,
and I forget what else. I ported uIP 0.9 and have not yet updated it
to 1.0. Also I have made some other modifications to my tree to
support responding to broadcast pings, which I think was not supported
in stock 0.9. It was something like 2 years ago that I did all that,
and there may be some other modifications I made that I'm forgetting.
I can, if you're interested, do a diff against the stock uIP 0.9
tarball and provide that, along with my MAC driver. It will be a few
days before I can get around to that (mostly just because I have to
tease out some of my board-specific code from the MAC driver -- it's a
custom board, so that wouldn't do anybody else any good).