Re: Testing Install for AVR and SAM7(ARM) development
Simon Berg <
ksbe@...>
2008-02-08 11:20:57 GMT
On Thu, 2008-02-07 at 16:34 -0500, kyasi@... wrote:
> Hello
>
> Can someone recommend an example that is known to compile properly for
> the AVR and also the SAM7 (ARM) cpu's.
>
> I have downloaded contiki-2.x and i have WINAVR and Yargarto which are
> both GNU tool chains that are already proven on my Windows machine. I
> am trying to use cygwin for use
> with contiki.
> In the examples directory i have built hello-world for the native
> platform and this worked just fine and i can execute it thru cygwin
> without a problem.
>
> But i thought that the stk501 platform for the AVR would have been a
> good choice for testing my installation.
>
> In the hello-world example directory i tried make TARGET=stk501 but i
> get lots of errors mostly concerning the typedef uint16_t versus u16_t
> that it seems to like.
>
> Plus there is a extern in rand.h that it does not like versus the
> attribute definition in the rand.c for GNU compilers.
>
> I tried other examples, but all have problems compiling.
>
> Is there a known good working simple example that should compile
> properly, all the baseline contiki functionality for AVR, and then
> additionally for SAM7 (ARM) platform.
There is a port for SAM7S in CVS. Only one platform, stepper-robot, is
currently using it. I suspect that some of simpler example applications,
like hello-world, should work on other boards using the SAM7S, as long
as the debug port is used for output. I'm not sure the SAM7S code is in
sync with the rest of the repository, but I could check that during the
weekend.
>
> I would like to create applications that run on Atmel AVR STK eval kits
> and the SAM7 eval kits from Atmel.
>
> thanks
> KC
simon
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/