[mc1322x] compiling webserver-ipv6 in contiki/examples folder
Chol Su Kang
cholsukang at gmail.com
Thu Apr 29 15:02:19 EDT 2010
Hi Mar,
I built webserver6 in contiki-mc1322x/examples/webserver-ipv6 folder,
and the size of bin file is reasonable to be download to the mc1322x
platform:
$ ls -l *.bin
-rwxrwxr-x 1 csk csk 67432 2010-04-29 11:40 webserver6.freescale-ncb.bin
Great work!
Also, I added some more comments interleaved below.
On Thu, Apr 29, 2010 at 11:35 AM, Mariano Alvira <mar at devl.org> wrote:
> 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.
Agree. It seems to be working using same crystal trims on both NCB and SRB now.
But, I am not sure whether the same crystal trim values are optimal for both.
>
> 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..
Yes, NCB has some extra peripheral such as LCD.
>
> I don't mind having all the different boards in libmc1322x. For
I will add freescale-srb in libmc1322x.
> 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.
>
Should the TARGET=FREESCALE and SUBPLATFORM=NCB OR SRB?
> -Mar.
>
>
>
More information about the mc1322x
mailing list