EDA365电子论坛网
标题:
Cortex-M3 processor是不支持AMR指令吗
[打印本页]
作者:
T_Ching
时间:
2022-10-11 15:32
标题:
Cortex-M3 processor是不支持AMR指令吗
项目用的是STM32F103RC, IDE是Keil V5.26
$ F& l5 Y0 r6 ~: Z
- O8 r X! p0 ^9 x R* {& a: g* d
当我尝试把其中一C文件加上--arm 编译选项后, 编译报错如下
: T; y/ p5 ?/ [# n, U- x
* G S5 L6 g* H/ J
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Program Files (x86)\Keil_v5\ARM\ARMCC\Bin'
, g, _( T2 {- i @+ |. s
compiling stm32f10x_it.c...
) q8 e, s1 U7 j6 e6 h; W! \) s
Error: C4006E: specified processor or architecture does not support ARM instructions
1 K! y$ s2 B1 w0 b
"Src\stm32f10x_it.c" - 1 Error(s), 0 Warning(s).
5 m# D% L2 u/ C$ t- B
( ]- F4 V! ?! {4 F+ V! s
请问这是Keil设置的问题? 还是什么问题?
3 T8 k# W/ `4 v1 u% e
作者:
twel2e
时间:
2022-10-11 17:20
不支持arm指令,只支持Thumb2指令
+ e, E- B& h# v+ s4 J
作者:
oponi
时间:
2022-10-11 17:33
是不支持的
8 q3 ^" W! ^' x- a( i; O
欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/)
Powered by Discuz! X3.2