Skip to main content
cthomas
Visitor II
Jul 1, 2018 3:27 PM UTC
Question

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

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

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    Jul 1, 2018 3:37 PM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..