Does STM32F072 support ARM instructions? Default setup is for THUMB. Keil compiler says ARM is invalid
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-07-01 8:27 AM
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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-07-01 8:37 AM
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.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
