打印

ARM升级到v6.6之后CMSIS报错

[复制链接]
232|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
石头张|  楼主 | 2018-7-14 18:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
最近升级了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).

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

446

主题

446

帖子

0

粉丝