This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM7TDMI Thumb Mode - STR71xF
- From: Andrew Lunn <andrew at lunn dot ch>
- To: John Carter <john dot carter at tait dot co dot nz>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 6 May 2005 14:25:39 +0200
- Subject: Re: [ECOS] ARM7TDMI Thumb Mode - STR71xF
- References: <Pine.LNX.4.61.0505051141560.29325@parore.tait.co.nz>
On Thu, May 05, 2005 at 11:49:05AM +1200, John Carter wrote:
> Thanks for remarkably prompt help with the Fedora synth question! I really
> appreciate that!
>
> I'm looking at porting our code to a ST Micro STR71xF (it has ARM7TDMI
> core).
>
> I used the packages/hal/arm/integrator and it all compiled OK.
>
> Now I'm trying to compile it in thumb mode. Unfortunately the option is
> disabled in the .cdl (or more precisely, nothing in the arm/integrator cdl
> enables it)
>
> Question 1) Is the arm/integrator HAL the best choice for the STR71xF MCU?
Sorry, don't know.
> Question 2) If I hack/force/kludge things (probably in the CDL) until Ecos
> does compile in thumb mode (presumably with interworking on, so hopefully
> it will work with non-thumb assembler routines), will Ecos work?
It should do. Plenty of other ARM HAL's use thumb. I suggest you take
a look at them to see how thumb should be done. I suspect its just a
minor issue with CDL.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss