最近升级了MDK到5.23,为了支持C++11编译器选择为C++11,可是大量的错误出现了,折腾了好几天,求大神解答啊!!!!!!跪谢了
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c(29): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_crc.h(38): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx.h(149): error: 'stm32f407xx.h' file not found
#include "stm32f407xx.h"
^
1 error generated.
compiling stm32f4xx_crc.c...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c(84): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_gpio.h(38): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx.h(149): error: 'stm32f407xx.h' file not found
#include "stm32f407xx.h"
^
1 error generated.
compiling stm32f4xx_gpio.c...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c(59): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_rcc.h(37): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx.h(149): error: 'stm32f407xx.h' file not found
#include "stm32f407xx.h"
^
1 error generated.
compiling stm32f4xx_rcc.c...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c(50): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_syscfg.h(38): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx.h(149): error: 'stm32f407xx.h' file not found
#include "stm32f407xx.h"
^
1 error generated.
compiling stm32f4xx_syscfg.c...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c(76): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc\misc.h(38): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx.h(149): error: 'stm32f407xx.h' file not found
#include "stm32f407xx.h"
^
1 error generated.
compiling misc.c...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c(119): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx_tim.h(38): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx.h(149): error: 'stm32f407xx.h' file not found
#include "stm32f407xx.h"
^
1 error generated.
compiling stm32f4xx_tim.c...
../User/system_stm32f4xx.c(215): warning: In file included from...
../STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Libraries/STM32F4xx_StdPeriph_Driver/inc\stm32f4xx.h(149): error: 'stm32f407xx.h' file not found
#include "stm32f407xx.h"
^
1 error generated.
compiling system_stm32f4xx.c...
".\Obj\project.axf" - 13 Error(s), 0 Warning(s). |