[ECOS] How is symbol "__thumb__" defined? Thanks a lot
Jonathan Larmour
jifl@eCosCentric.com
Wed Aug 20 21:42:00 GMT 2003
Eric de Jong wrote:
>>> 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
If you mean the eCos compiler flags, that should happen anyway but I see
it doesn't for a few targets so I've submitted a bug.
> 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!)
Actually I don't think we've ever supported building the monitor itself in
thumb mode, probably mostly because there's a lot of stuff that _has_ to
be run in ARM mode in a ROM monitor. There should probably be some
explicit CDL for that - I'll submit a patch.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list