打印

软件安装问题吗

[复制链接]
293|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
roucun|  楼主 | 2019-11-28 07:02 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
..\..\Libraries\CMSIS\stm32f10x.h(511): error:  #256: invalid redeclaration of type name "uint32_t" (declared at line 46 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(511): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(512): error:  #20: identifier "__IO" is undefined
compiling bsp_led.c...
..\..\Libraries\CMSIS\core_cm3.h(21): error:  #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\core_cm3.h(21): error:  #18: expected a ")"
..\..\Libraries\CMSIS\core_cm3.h(31): warning:  #223-D: function "LED_GPIO_Config" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(36): warning:  #223-D: function "LED1" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(36): error:  #20: identifier "ON" is undefined
..\..\Libraries\CMSIS\core_cm3.h(38): error:  #20: identifier "OFF" is undefined
..\..\Libraries\CMSIS\core_cm3.h(40): warning:  #223-D: function "LED2" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(44): warning:  #223-D: function "LED3" declared implicitly
..\..\Libraries\CMSIS\core_cm3.h(51): error:  #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\core_cm3.h(51): error:  #18: expected a ")"
..\..\Libraries\CMSIS\core_cm3.h(53): error:  #20: identifier "nCount" is undefined
..\..\Libraries\CMSIS\system_stm32f10x.h(53): error:  #20: identifier "uint32_t" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(495): error:  #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(495): error:  #256: invalid redeclaration of type name "int32_t" (declared at line 40 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(495): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(496): error:  #256: invalid redeclaration of type name "int16_t" (declared at line 39 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(496): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(497): error:  #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(497): error:  #256: invalid redeclaration of type name "int8_t" (declared at line 38 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(497): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(499): error:  #20: identifier "__I" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(499): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "__I" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(500): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(501): error:  #20: identifier "__I" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(501): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(511): error:  #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(511): error:  #256: invalid redeclaration of type name "uint32_t" (declared at line 46 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(511): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(512): error:  #20: identifier "__IO" is undefined
..\..\Libraries\CMSIS\stm32f10x.h(512): error:  #256: invalid redeclaration of type name "uint16_t" (declared at line 45 of "D:\v4\ARM\ARMCC\bin\..\include\stdint.h")
..\..\Libraries\CMSIS\stm32f10x.h(512): error:  #65: expected a ";"
..\..\Libraries\CMSIS\stm32f10x.h(513): error:  #20: identifier "__IO" is undefined
"..\..\Output\流水灯.axf" - 781 Errors, 54 Warning(s).
Target not created1.安装路径没有出现中文
也使用管理员身份装mdk
使用管理员身份打开MDK及**软件**。重装了好几遍还是不行

使用特权

评论回复

相关帖子

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

本版积分规则

421

主题

446

帖子

0

粉丝