arm-none-eabi-gcc “D:/Hunter/pro/P4/APM32F10x_SDK_V1.8/Libraries/APM32F10x_StdPeriphDriver/src/apm32f10x_pmu.c” -std=gnu11 -g3 -DAPM32F10X_MD -c -I"D:/Hunter/pro/P4/APM32F10x_SDK_V1.8/Libraries/APM32F10x_StdPeriphDriver/inc" -I"D:/Hunter/pro/P4/APM32F10x_SDK_V1.8/Libraries/Device/Geehy/APM32F10x/Include" -I"D:/Hunter/pro/P4/APM32F10x_SDK_V1.8/Libraries/CMSIS/Include" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"StdPeriphDriver/apm32f10x_pmu.d" -MT"StdPeriphDriver/apm32f10x_pmu.o" –specs=nano.specs -mfloat-abi=soft -mthumb -o “StdPeriphDriver/apm32f10x_pmu.o”
C:\Users\ADMINI1\AppData\Local\Temp\cchtDlVL.s: Assembler messages:
C:\Users\ADMINI1\AppData\Local\Temp\cchtDlVL.s:445: Error: selected processor does not support wfi' in Thumb mode
C:\Users\ADMINI~1\AppData\Local\Temp\cchtDlVL.s:454: Error: selected processor does not support
wfe’ in Thumb mode
C:\Users\ADMINI1\AppData\Local\Temp\cchtDlVL.s:526: Error: selected processor does not support `wfi’ in Thumb mode
make: *** [StdPeriphDriver/subdir.mk:119: StdPeriphDriver/apm32f10x_pmu.o] Error 1
编译的背景: 使用STCube 编译,也是基于eclipse开发,所以例程也能够正常的打开和修改一下配置也能够正常编译i,
提到的编译WFI thumb问题和编译工具有关系,有知道这是什么原因吗?