新手入门
- 积分
- 24
- 金钱
- 24
- 注册时间
- 2016-4-15
- 在线时间
- 6 小时
|
2金钱
用stm32f407板子跑UCOS-III的程序,想对比一下使用FPU和不使用FPU的区别,结果在Target选项中选择not used FPU之后,产生如下报错。
..\UCOSIII\uCOS-III\Ports\ARM-Cortex-M4\Generic\RealView\os_cpu_a.asm(178): error: A1854E: Unknown opcode 'VSTMDBEQ', maybe wrong target CPU?
..\UCOSIII\uCOS-III\Ports\ARM-Cortex-M4\Generic\RealView\os_cpu_a.asm(180): error: A1619E: Specified condition is not consistent with previous IT
..\UCOSIII\uCOS-III\Ports\ARM-Cortex-M4\Generic\RealView\os_cpu_a.asm(211): error: A1854E: Unknown opcode 'VLDMIAEQ', maybe wrong target CPU?
..\UCOSIII\uCOS-III\Ports\ARM-Cortex-M4\Generic\RealView\os_cpu_a.asm(213): error: A1619E: Specified condition is not consistent with previous IT
请教各位高手,这是什么问题。
|
最佳答案
查看完整内容[请看2#楼]
V指令是FPU专用指令,你关闭FPU后如果使用它,在运行时内核会异常,UCOS在编译前就把这个错误报告给你了,
|