cancel
Showing results for 
Search instead for 
Did you mean: 

Does STM32F072 support ARM instructions? Default setup is for THUMB. Keil compiler says ARM is invalid

cthomas
Associate
Posted on July 01, 2018 at 17:27

Changed THUMB to ARM in startup_stm32f72bs.s, get the following message from build:

..\Stm\startup_stm32f072xb.s(153): error: A1356E: Instruction not supported on targeted CPU

1 REPLY 1
Posted on July 01, 2018 at 17:37

None of the Cortex-M parts support 32-bit ARM Instructions

The Cortex-M0 supports a shrinking set of 16-bit Thumb Instructions, which means you might need to use a couple instructions to perform an operation where one instruction on a CM3 or CM4 would suffice.

0690X0000060LYkQAM.png
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..