[mc1322x] compiling webserver-ipv6 in contiki/examples folder
Mariano Alvira
mar at devl.org
Thu Apr 29 14:35:15 EDT 2010
On Thu, Apr 29, 2010 at 11:07:19AM -0700, Chol Su Kang wrote:
> On Thu, Apr 29, 2010 at 8:08 AM, Joakim Eriksson <joakime at sics.se> wrote:
> > Mariano Alvira skrev 2010-04-29 16:05:
>
> I have just tested the same blink, printf, and rftest-tx bin files in
> Freescale MC1322x Sensor Reference Board (SRB).
> The same bin files built in Network Controller Board (NCB) worked in
> SRB as well.
> So, I am thinking whether I should create another board, freescale-srb?
> What do you think?
The most important difference are the crystal trims --- without the
right trims you'll have transmission problems between different
boards/802.15.4 radios.
The other reason to make another board is if the GPIO hookup or the
peripherals are different (such as if you want debug messages on UART2
instead of UART1)... etc..
I don't mind having all the different boards in libmc1322x. For
Conitki though, it probably makes sense to have a sub-platform
mechanism. Otherwise we'll need like 10 or more platforms.
It shouldn't be too hard to keep the boards in cpu/mc1322x like we do
now and go back to a common mc1322x platform.
The make command would be something like:
make TARGET=mc1322x SUBPLATFORM=freescale-ncb foo
which would make foo.freescale-ncb (the elf) and foo_freescale-ncb.bin
(the image). The object directory would be obj_mc1322x_freescale-ncb.
-Mar.
More information about the mc1322x
mailing list