[mc1322x] compiling webserver-ipv6 in contiki/examples folder
Mariano Alvira
mar at devl.org
Tue Apr 27 19:26:18 EDT 2010
On Tue, Apr 27, 2010 at 04:12:52PM -0700, Chol Su Kang wrote:
> On Tue, Apr 27, 2010 at 1:40 PM, Mariano Alvira <mar at devl.org> wrote:
> > On Tue, Apr 27, 2010 at 01:16:38PM -0700, Chol Su Kang wrote:
> >> I have compiled webserver-ipv6 using:
> >> $ make TARGET=mc1322x
> You are right. I actually used
> $ make TARGET=mc1322x-ncb
> I created mc1322x-ncb for Freescale Network Controller Board - came
> with 1322XDSK-DBG from Freescale.
> Not that I like this board, but I got this one before I found out
> about redbee boards.
> For anyone who is interested, I will upload a patch to create
> mc1322x-ncb board under mc1322x platform.
That would be great. The name should probably be freescale-ncb
though...
> > I am currently working on the master branch and I've noticed that it
> > has this problem and will be fixed.
> Thanks. I noticed that webserver modules in apps/webserver use
> 'sprintf' and 'snprint' also, which are not available in printf.c in
> cpu/mc1322x/lib.
Ok. That's the reason then... so you have three options: replace
sprintf/snprintf with your own; try newlib; or try uClib...
>
> >
> > WIP-2.4 and mc1322x-2.4 does not have this problem. Something in the
> > Makefile from those branches needs to be pulled into master... But
> > again, I wouldn't expect master to be usable for another week or two.
> >
> I did not try WIP-2.4 yet, but I thought that I tried mc1322x-2.4.
> I got a clean build. But the size of the webserver6.mc1322x-ncb.elf
> file is 871K and the size of .bin file is 490K.
...hrmm well my mc1322x-2.4 branch doesn't build this example. It
builds in WIP-2.4 and is an acceptable size. That's the branch that
will work anyway; it includes a lot of changes from Jon to fix the
alignment issues in the core Contiki code. The mc1322x-2.4 branch
isn't suppose to have any changes to the core code --- it just adds
the mc1322x to Contiki 2.4.
The current development plan is to bring master in sync with CVS head
(only pending item is to update the radio interface) and then
determine, with Joakim and Niclas's help, what changes have to be made
to the core code. And finish all this around June...
-Mar.
More information about the mc1322x
mailing list