This is the mail archive of the ecos-discuss@sources.redhat.com 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: How is symbol "__thumb__" defined? Thanks a lot


>>    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


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