Build target 'STM3210B-EVAL' compiling stm32f10x_it.c... compiling main.c... C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(23): error: #256: invalid redeclaration of type name "s32" (declared at line 312 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(27): error: #256: invalid redeclaration of type name "sc32" (declared at line 316 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(31): error: #256: invalid redeclaration of type name "vs32" (declared at line 320 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(35): error: #256: invalid redeclaration of type name "vsc32" (declared at line 324 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(39): error: #256: invalid redeclaration of type name "u32" (declared at line 328 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(43): error: #256: invalid redeclaration of type name "uc32" (declared at line 332 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(47): error: #256: invalid redeclaration of type name "vu32" (declared at line 336 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(51): error: #256: invalid redeclaration of type name "vuc32" (declared at line 340 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(55): error: #101: "FALSE" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(55): error: #101: "TRUE" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(55): error: #256: invalid redeclaration of type name "bool" (declared at line 345 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error: #101: "RESET" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error: #101: "SET" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error: #256: invalid redeclaration of type name "FlagStatus" (declared at line 348 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error: #256: invalid redeclaration of type name "ITStatus" (declared at line 348 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error: #101: "DISABLE" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error: #101: "ENABLE" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error: #256: invalid redeclaration of type name "FunctionalState" (declared at line 350 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error: #101: "ERROR" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error: #101: "SUCCESS" has already been declared in the current scope C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error: #256: invalid redeclaration of type name "ErrorStatus" (declared at line 353 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\cortexm3_macro.h(30): error: #55: too many arguments in macro invocation C:\Keil\ARM\INC\ST\STM32F10x\cortexm3_macro.h(30): error: #79: expected a type specifier C:\Keil\ARM\INC\ST\STM32F10x\cortexm3_macro.h(31): error: #55: too many arguments in macro invocation C:\Keil\ARM\INC\ST\STM32F10x\cortexm3_macro.h(31): error: #79: expected a type specifier C:\Keil\ARM\INC\ST\STM32F10x\cortexm3_macro.h(32): error: #55: too many arguments in macro invocation C:\Keil\ARM\INC\ST\STM32F10x\cortexm3_macro.h(32): error: #79: expected a type specifier C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_map.h(58): error: #256: invalid redeclaration of type name "ADC_TypeDef" (declared at line 389 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_map.h(154): error: #256: invalid redeclaration of type name "BKP_TypeDef" (declared at line 488 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") C:\Keil\ARM\INC\ST\STM32F10x\stm32f10x_map.h(163): error: #256: invalid redeclaration of type name "CAN_TxMailBox_TypeDef" (declared at line 500 of "..\..\..\Libraries\CMSIS\Core\CM3\stm32f10x.h") compiling stm32f10x_rcc.c... compiling stm32f10x_gpio.c... compiling stm32f10x_exti.c... compiling stm32f10x_spi.c... compiling system_stm32f10x.c... assembling startup_stm32f10x_md.s... Target not created