This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: kinetis kwikstik's ecos trouble




----------------------------------------
> Date: Tue, 26 Jun 2012 12:26:44 +0200
> From: ilijak@siva.com.mk
> To: tziang@hotmail.com
> CC: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] kinetis kwikstik's ecos trouble
>
> On 26.06.2012 08:39, tangwei wrote:
> > Dear all,
> > redboot have run on my kwikstik ok, but I am not sure whether the ecos is OK, my steps is below:
> > use the CVS version which contains freescale's kwikstik template,
> > 1. use the default setting for kwikstik to get the "libtarget.a" and etc;2. build the examples from the ecos/examples/ ,such as hello.c ,twothreads.c ,simple-alarm.c
> > use the command below
> > /opt/ecos/gnutools/arm-eabi/bin/arm-eabi-gcc -g -D_ECOS -I ../../test/default_install/include/ simple-alarm.c -L ../../test/default_install/lib -Ttarget.ld -nostdlib
>
> This command line isn't correct. Should contain flags: -mthumb
> -mcpu=cortex-m3 (if you are using gcc-4.6 or newer you can also put
> -mcpu=cortex-m4)
> Recommended: -O2
>
> I recommend you, as a template, to use the Makefile provided with examples.
>
> I hope this helps.
>
> Ilija
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
 		 	   		  

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]