This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How is symbol "__thumb__" defined? Thanks a lot
- From: "Eric de Jong" <list_ericdejong_10 at gmx dot net>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 20 Aug 2003 11:42:11 +0200
- Subject: Re: [ECOS] How is symbol "__thumb__" defined? Thanks a lot
- References: <ONEOIJPPOKNBBKJKCGLCOEIHCCAA.jameshq@liv.ac.uk>
>> I am trying to find out whether the kernel and the apps can run in thumb
mode
Yes, the ecos can work in arm thumb mode. With the configtool select the thumb
option AND add -mthumb to the compiler flag AND add -mthumb to your own
application makefile AND do a comlete rebuild, e.g. delete the xxx_build
directory in your ecos project directory and delete the .o and .a files in your
xxx_install/lib directory before you do a build.
But... I did not get the debug stub working in thumb mode.
What does work is compiling redboot with the interwork flag enabled. It can then
load and debug your thumb application (which must have interwork enabled then!)
Eric.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss