Added the OpenMote platform and examples

I have copied the CC2538DK platform and examples and adapted it to the OpenMote platform, which is also based on the CC2538 SoC. The code compiles fine and I am able to upload it and run it on the target platform. Comments in the source code will need to be ammended to match the target platform, but this can be done in the future.
Pablo,
I have removed  the unnecessary line. Thanks for noticing it!
Regards,
Pere

2014-10-09 11:08 GMT+02:00 Pablo Corbalán <notifications@github.com>:

> In platform/openmote/contiki-main.c:
>
> > +  PRINTF(" RDC: ");
> > +  PRINTF("%s\n", NETSTACK_RDC.name);
> > +
> > +  /* Initialise the H/W RNG engine. */
> > +  random_init(0);
> > +
> > +  udma_init();
> > +
> > +  process_start(&etimer_process, NULL);
> > +  ctimer_init();
> > +
> > +  set_rf_params();
> > +  netstack_init();
> > +
> > +  antenna_init();
> > +  antenna_external();
>
> Hi @peretuset <https://github.com/peretuset> ,
>
> I think this line can be removed due to the antenna_init() function
> already selects the external antenna by default. You might remove this line
> or remove the selection of the external antenna from the antenna_init() and
> let this line as it is.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/contiki-os/contiki/pull/556/files#r18633983>.
>