OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 6772|回复: 2

新建工程编译时出现的错误,请大家指点下

[复制链接]

2

主题

2

帖子

0

精华

新手入门

积分
30
金钱
30
注册时间
2011-8-16
在线时间
0 小时
发表于 2011-8-19 16:49:53 | 显示全部楼层 |阅读模式
..\CM3\core_cm3.h(715): warning:  #47-D: incompatible redefinition of macro "SCS_BASE" (declared at line 687 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\core_cm3.h(723): warning:  #47-D: incompatible redefinition of macro "SCB" (declared at line 935 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\core_cm3.h(724): warning:  #47-D: incompatible redefinition of macro "SysTick" (declared at line 930 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\core_cm3.h(725): warning:  #47-D: incompatible redefinition of macro "NVIC" (declared at line 934 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(470): error:  #256: invalid redeclaration of type name "s32" (declared at line 23 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(474): error:  #256: invalid redeclaration of type name "sc32" (declared at line 27 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(478): error:  #256: invalid redeclaration of type name "vs32" (declared at line 31 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(482): error:  #256: invalid redeclaration of type name "vsc32" (declared at line 35 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(486): error:  #256: invalid redeclaration of type name "u32" (declared at line 39 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(490): error:  #256: invalid redeclaration of type name "uc32" (declared at line 43 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(494): error:  #256: invalid redeclaration of type name "vu32" (declared at line 47 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(498): error:  #256: invalid redeclaration of type name "vuc32" (declared at line 51 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(502): error:  #101: "RESET" has already been declared in the current scope
..\CM3\stm32f10x.h(502): error:  #101: "SET" has already been declared in the current scope
..\CM3\stm32f10x.h(502): error:  #256: invalid redeclaration of type name "FlagStatus" (declared at line 57 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(502): error:  #256: invalid redeclaration of type name "ITStatus" (declared at line 57 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(504): error:  #101: "DISABLE" has already been declared in the current scope
..\CM3\stm32f10x.h(504): error:  #101: "ENABLE" has already been declared in the current scope
..\CM3\stm32f10x.h(504): error:  #256: invalid redeclaration of type name "FunctionalState" (declared at line 59 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(507): error:  #101: "ERROR" has already been declared in the current scope
..\CM3\stm32f10x.h(507): error:  #101: "SUCCESS" has already been declared in the current scope
..\CM3\stm32f10x.h(507): error:  #256: invalid redeclaration of type name "ErrorStatus" (declared at line 62 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(510): warning:  #47-D: incompatible redefinition of macro "HSEStartUp_TimeOut" (declared at line 151 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_conf.h")
..\CM3\stm32f10x.h(511): warning:  #47-D: incompatible redefinition of macro "HSE_Value" (declared at line 147 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_conf.h")
..\CM3\stm32f10x.h(547): error:  #256: invalid redeclaration of type name "ADC_TypeDef" (declared at line 58 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(646): error:  #256: invalid redeclaration of type name "BKP_TypeDef" (declared at line 154 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(658): error:  #256: invalid redeclaration of type name "CAN_TxMailBox_TypeDef" (declared at line 163 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(670): error:  #256: invalid redeclaration of type name "CAN_FIFOMailBox_TypeDef" (declared at line 171 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(680): error:  #256: invalid redeclaration of type name "CAN_FilterRegister_TypeDef" (declared at line 177 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(714): error:  #256: invalid redeclaration of type name "CAN_TypeDef" (declared at line 203 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(741): error:  #256: invalid redeclaration of type name "CRC_TypeDef" (declared at line 213 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(765): error:  #256: invalid redeclaration of type name "DAC_TypeDef" (declared at line 232 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(775): error:  #256: invalid redeclaration of type name "DBGMCU_TypeDef" (declared at line 239 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(787): error:  #256: invalid redeclaration of type name "DMA_Channel_TypeDef" (declared at line 248 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(793): error:  #256: invalid redeclaration of type name "DMA_TypeDef" (declared at line 254 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(878): error:  #256: invalid redeclaration of type name "EXTI_TypeDef" (declared at line 265 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
compiling Record.c...
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(23): error:  #256: invalid redeclaration of type name "s32" (declared at line 470 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(27): error:  #256: invalid redeclaration of type name "sc32" (declared at line 474 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(31): error:  #256: invalid redeclaration of type name "vs32" (declared at line 478 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(35): error:  #256: invalid redeclaration of type name "vsc32" (declared at line 482 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(39): error:  #256: invalid redeclaration of type name "u32" (declared at line 486 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(43): error:  #256: invalid redeclaration of type name "uc32" (declared at line 490 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(47): error:  #256: invalid redeclaration of type name "vu32" (declared at line 494 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(51): error:  #256: invalid redeclaration of type name "vuc32" (declared at line 498 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #101: "RESET" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #101: "SET" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #256: invalid redeclaration of type name "FlagStatus" (declared at line 502 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #256: invalid redeclaration of type name "ITStatus" (declared at line 502 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #101: "DISABLE" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #101: "ENABLE" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #256: invalid redeclaration of type name "FunctionalState" (declared at line 504 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #101: "ERROR" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #101: "SUCCESS" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #256: invalid redeclaration of type name "ErrorStatus" (declared at line 507 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(30): error:  #55: too many arguments in macro invocation
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(30): error:  #79: expected a type specifier
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(31): error:  #55: too many arguments in macro invocation
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(31): error:  #79: expected a type specifier
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(32): error:  #55: too many arguments in macro invocation
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(32): error:  #79: expected a type specifier
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(58): error:  #256: invalid redeclaration of type name "ADC_TypeDef" (declared at line 547 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(154): error:  #256: invalid redeclaration of type name "BKP_TypeDef" (declared at line 646 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(163): error:  #256: invalid redeclaration of type name "CAN_TxMailBox_TypeDef" (declared at line 658 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(171): error:  #256: invalid redeclaration of type name "CAN_FIFOMailBox_TypeDef" (declared at line 670 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(177): error:  #256: invalid redeclaration of type name "CAN_FilterRegister_TypeDef" (declared at line 680 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(203): error:  #256: invalid redeclaration of type name "CAN_TypeDef" (declared at line 714 of "..\CM3\stm32f10x.h")
compiling vs10xx.c...
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(23): error:  #256: invalid redeclaration of type name "s32" (declared at line 470 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(27): error:  #256: invalid redeclaration of type name "sc32" (declared at line 474 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(31): error:  #256: invalid redeclaration of type name "vs32" (declared at line 478 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(35): error:  #256: invalid redeclaration of type name "vsc32" (declared at line 482 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(39): error:  #256: invalid redeclaration of type name "u32" (declared at line 486 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(43): error:  #256: invalid redeclaration of type name "uc32" (declared at line 490 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(47): error:  #256: invalid redeclaration of type name "vu32" (declared at line 494 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(51): error:  #256: invalid redeclaration of type name "vuc32" (declared at line 498 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #101: "RESET" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #101: "SET" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #256: invalid redeclaration of type name "FlagStatus" (declared at line 502 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #256: invalid redeclaration of type name "ITStatus" (declared at line 502 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #101: "DISABLE" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #101: "ENABLE" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #256: invalid redeclaration of type name "FunctionalState" (declared at line 504 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #101: "ERROR" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #101: "SUCCESS" has already been declared in the current scope
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #256: invalid redeclaration of type name "ErrorStatus" (declared at line 507 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(30): error:  #55: too many arguments in macro invocation
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(30): error:  #79: expected a type specifier
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(31): error:  #55: too many arguments in macro invocation
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(31): error:  #79: expected a type specifier
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(32): error:  #55: too many arguments in macro invocation
E:\KEIL MDK\ARM\INC\ST\STM32F10x\cortexm3_macro.h(32): error:  #79: expected a type specifier
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(58): error:  #256: invalid redeclaration of type name "ADC_TypeDef" (declared at line 547 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(154): error:  #256: invalid redeclaration of type name "BKP_TypeDef" (declared at line 646 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(163): error:  #256: invalid redeclaration of type name "CAN_TxMailBox_TypeDef" (declared at line 658 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(171): error:  #256: invalid redeclaration of type name "CAN_FIFOMailBox_TypeDef" (declared at line 670 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(177): error:  #256: invalid redeclaration of type name "CAN_FilterRegister_TypeDef" (declared at line 680 of "..\CM3\stm32f10x.h")
E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h(203): error:  #256: invalid redeclaration of type name "CAN_TypeDef" (declared at line 714 of "..\CM3\stm32f10x.h")
compiling ff.c...
..\fatfs\ff.c(75): error:  #5: cannot open source input file "config.h": No such file or directory
compiling usart.c...
..\CM3\core_cm3.h(715): warning:  #47-D: incompatible redefinition of macro "SCS_BASE" (declared at line 687 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\core_cm3.h(723): warning:  #47-D: incompatible redefinition of macro "SCB" (declared at line 935 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\core_cm3.h(724): warning:  #47-D: incompatible redefinition of macro "SysTick" (declared at line 930 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\core_cm3.h(725): warning:  #47-D: incompatible redefinition of macro "NVIC" (declared at line 934 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(470): error:  #256: invalid redeclaration of type name "s32" (declared at line 23 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(474): error:  #256: invalid redeclaration of type name "sc32" (declared at line 27 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(478): error:  #256: invalid redeclaration of type name "vs32" (declared at line 31 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(482): error:  #256: invalid redeclaration of type name "vsc32" (declared at line 35 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(486): error:  #256: invalid redeclaration of type name "u32" (declared at line 39 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(490): error:  #256: invalid redeclaration of type name "uc32" (declared at line 43 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(494): error:  #256: invalid redeclaration of type name "vu32" (declared at line 47 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(498): error:  #256: invalid redeclaration of type name "vuc32" (declared at line 51 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(502): error:  #101: "RESET" has already been declared in the current scope
..\CM3\stm32f10x.h(502): error:  #101: "SET" has already been declared in the current scope
..\CM3\stm32f10x.h(502): error:  #256: invalid redeclaration of type name "FlagStatus" (declared at line 57 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(502): error:  #256: invalid redeclaration of type name "ITStatus" (declared at line 57 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(504): error:  #101: "DISABLE" has already been declared in the current scope
..\CM3\stm32f10x.h(504): error:  #101: "ENABLE" has already been declared in the current scope
..\CM3\stm32f10x.h(504): error:  #256: invalid redeclaration of type name "FunctionalState" (declared at line 59 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(507): error:  #101: "ERROR" has already been declared in the current scope
..\CM3\stm32f10x.h(507): error:  #101: "SUCCESS" has already been declared in the current scope
..\CM3\stm32f10x.h(507): error:  #256: invalid redeclaration of type name "ErrorStatus" (declared at line 62 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_type.h")
..\CM3\stm32f10x.h(510): warning:  #47-D: incompatible redefinition of macro "HSEStartUp_TimeOut" (declared at line 151 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_conf.h")
..\CM3\stm32f10x.h(511): warning:  #47-D: incompatible redefinition of macro "HSE_Value" (declared at line 147 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_conf.h")
..\CM3\stm32f10x.h(547): error:  #256: invalid redeclaration of type name "ADC_TypeDef" (declared at line 58 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(646): error:  #256: invalid redeclaration of type name "BKP_TypeDef" (declared at line 154 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(658): error:  #256: invalid redeclaration of type name "CAN_TxMailBox_TypeDef" (declared at line 163 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(670): error:  #256: invalid redeclaration of type name "CAN_FIFOMailBox_TypeDef" (declared at line 171 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(680): error:  #256: invalid redeclaration of type name "CAN_FilterRegister_TypeDef" (declared at line 177 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(714): error:  #256: invalid redeclaration of type name "CAN_TypeDef" (declared at line 203 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(741): error:  #256: invalid redeclaration of type name "CRC_TypeDef" (declared at line 213 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(765): error:  #256: invalid redeclaration of type name "DAC_TypeDef" (declared at line 232 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(775): error:  #256: invalid redeclaration of type name "DBGMCU_TypeDef" (declared at line 239 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(787): error:  #256: invalid redeclaration of type name "DMA_Channel_TypeDef" (declared at line 248 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(793): error:  #256: invalid redeclaration of type name "DMA_TypeDef" (declared at line 254 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
..\CM3\stm32f10x.h(878): error:  #256: invalid redeclaration of type name "EXTI_TypeDef" (declared at line 265 of "E:\KEIL MDK\ARM\INC\ST\STM32F10x\stm32f10x_map.h")
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2011-8-19 16:54:57 | 显示全部楼层
回复【楼主位】0577_dongdong:
---------------------------------
大哥啊,你这是怎么新建的啊?
按照我手册一步步来!!!!
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复 支持 反对

使用道具 举报

0

主题

7

帖子

0

精华

新手上路

积分
27
金钱
27
注册时间
2014-2-27
在线时间
0 小时
发表于 2014-6-4 21:51:22 | 显示全部楼层
请问楼主,你的问题解决了没有呢?我碰到了很你一模一样的问题,搞了两三天了,还是没有解决呀!人都急死了!!请指点一下,小弟不甚感激!!!!!!QQ:1326134016@qq.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-7-7 13:37

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表