We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How would one specify in the Keil uVision Project settings to change between ARM and thumb mode for compilation.
It looks like the compiler defaults to thumb mode. I want to change it to ARM mode.
Isn't the Cortex M3 Thumb-2?
No ARM/Thumb selection permitted/possible/supported?
... does not have ARM mode!
The Cortex M series devices actually use the Thumb2 instruction set.
http://www.keil.com/support/man/docs/armasm/armasm_cegbeijb.htm
If you use it, you will see thumb2 is a good blend of ARM and thumb instructions, without the hassle of having to switch between instruction sets.
Sorry for nitpicking, but the "32bit" Thumb instructions are not ARM instructions. But with these extra instructions Thumb-2 gains most of the functionality of traditional ARM code. In some cases even more, in other cases slightly less.
-- Marcus http://www.doulos.com/arm/