[mc1322x] uart1-loopback example. Modification for mc1322x-SRB

Jon Smirl jonsmirl at gmail.com
Mon Mar 29 18:25:55 EDT 2010


This is an update to the blink example to make it use Contiki device drivers.

Mar, did I get all of the pieces?

On Mon, Mar 29, 2010 at 8:47 AM, Mariano Alvira <mar at devl.org> wrote:
> On Mon, Mar 29, 2010 at 12:47:39PM +0200, Manuel Macías wrote:
>> Ok, I´ve loaded hello-world but it does nothing. Maybe it could be
>> something related to the xtal? Can these redbee-dev examples work in the
>> freescale mote?
>> I´ve try to compile de blink example of the mc1322x-2.4 branch but it
>> doesn´t. This is the one you tried to build?
>>
>
> As I mentioned before, the blink example doesn't build anymore on my
> branches. Hello world should work, but I haven't tried it
> recently. I've changed how the GPIO interface is working so I'm not
> surprised that blink doesn't work anymore. It isn't part of mainline
> contiki anyway so I'll probably remove it (same with the old
> linux802154 driver).
>
> I don't know off-hand if your boards have a 32KHz crystal or
> not. Depending on you contiki configuration, it may be trying to
> enable it. This will block if your board does not actually have the
> crystal. See USE_32KHZ_XTAL.
>
> I don't know how the GPIO hookups compare with your board. They are
> easy to configure in the ~/board directory. I don't know which uart
> you are trying to use. All the boards in there now use uart1.
>
> I do most of my Contiki testing on rime/example-abc,
> rime/example-mesh, rime/example-collect. In the WIP-2.4 branch:
> udp-ipv6, and webserver-ipv6. I'm focusing on those since RIME and UIP
> are the main reasons to use Contiki. I can help more if you try one of
> those.
>
> -Mar.
>
> _______________________________________________
> mc1322x mailing list
> mc1322x at devl.org
> http://devl.org/cgi-bin/mailman/listinfo/mc1322x
>



-- 
Jon Smirl
jonsmirl at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blink.c
Type: text/x-csrc
Size: 3174 bytes
Desc: not available
URL: <http://devl.org/pipermail/mc1322x/attachments/20100329/1d5c2aec/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leds-arch.c
Type: text/x-csrc
Size: 973 bytes
Desc: not available
URL: <http://devl.org/pipermail/mc1322x/attachments/20100329/1d5c2aec/attachment-0001.c>


More information about the mc1322x mailing list