我以前建立的一个STM32F4的工程,当时是MDK4.2版本,没有问题。现在我电脑换成4.6版本的MDK,却出现了很多问题。。、、
.\CMSIS\core_cm4.h(305): error: #757: variable "uint32_t" is not a type name
.\CMSIS\core_cm4.h(306): error: #757: variable "uint32_t" is not a type name
.\CMSIS\core_cm4.h(307): error: #757: variable "uint32_t" is not a type name
.\CMSIS\core_cm4.h(308): error: #757: variable "uint32_t" is not a type name
.\CMSIS\core_cm4.h(309): error: #757: variable "uint32_t" is not a type name
.\CMSIS\core_cm4.h(310): error: #757: variable "uint32_t" is not a type name
.\CMSIS\core_cm4.h(311): error: #757: variable "uint32_t" is not a type name
compiling system_stm32f4xx.c...
C:\Keil\ARM\CMSIS\Include\core_cmInstr.h(115): error: #20: identifier "__STATIC_INLINE" is undefined
C:\Keil\ARM\CMSIS\Include\core_cmInstr.h(115): error: #101: "uint32_t" has already been declared in the current scope
C:\Keil\ARM\CMSIS\Include\core_cmInstr.h(115): error: #65: expected a ";" |