keil uvision4 target not created?
程序应该是例程,应该没有问题的。但是总是提示Targetnotcreated。下面是buildoutput。Rebuildtarget'MKL25Z128xxx4'com...
程序应该是例程,应该没有问题的。但是总是提示Target not created。下面是build output。
Rebuild target 'MKL25Z128xxx4'
compiling Blue_LED.c...
compiling Cpu.c...
compiling Green_LED.c...
compiling PE_LDD.c...
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(40):
error: #256: invalid redeclaration of
type name "int32" (declared at line 60 of
"./Generated_Code/PE_Types.h")
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(46):
error: #256: invalid redeclaration of
type name "uint32" (declared at line 64 of
"./Generated_Code/PE_Types.h")
./Generated_Code/PE_LDD.c(71): error: #147-D: declaration is incompatible with
"void PE_FillMemory(void *, uint8, uint32)" (declared at line 2164 of
"./Generated_Code/PE_LDD.h")
./Generated_Code/PE_LDD.c(91): error: #147-D: declaration is incompatible with
"bool PE_PeripheralUsed(uint32)" (declared at line 2175 of
"./Generated_Code/PE_LDD.h")
compiling Red_LED.c...
compiling Vectors.c...
compiling IO1.c...
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(40):
error: #256: invalid redeclaration of
type name "int32" (declared at line 60 of
"Generated_Code\PE_Types.h")
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(46):
error: #256: invalid redeclaration of
type name "uint32" (declared at line 64 of "Generated_Code\PE_Types.h")
compiling CsIO1.c...
compiling ProcessorExpert.c...
Sources\ProcessorExpert.c(108):warning: #128-D: loop is not reachable
Sources\ProcessorExpert.c(110):
warning: #111-D: statement is
unreachable
Sources\ProcessorExpert.c(43): warning: #177-D: variable "temp_char" wasdeclared but never referenced
Sources\ProcessorExpert.c(44):
warning: #177-D: variable "i"
was declared but never referenced
Sources\ProcessorExpert.c(44):
warning: #177-D: variable
"interval" was declared but never referenced
Sources\ProcessorExpert.c(45):
warning: #177-D: variable
"Error" was declared but never referenced
compiling Events.c...
compiling startup_ARM_CC.c...
Target not created 展开
Rebuild target 'MKL25Z128xxx4'
compiling Blue_LED.c...
compiling Cpu.c...
compiling Green_LED.c...
compiling PE_LDD.c...
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(40):
error: #256: invalid redeclaration of
type name "int32" (declared at line 60 of
"./Generated_Code/PE_Types.h")
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(46):
error: #256: invalid redeclaration of
type name "uint32" (declared at line 64 of
"./Generated_Code/PE_Types.h")
./Generated_Code/PE_LDD.c(71): error: #147-D: declaration is incompatible with
"void PE_FillMemory(void *, uint8, uint32)" (declared at line 2164 of
"./Generated_Code/PE_LDD.h")
./Generated_Code/PE_LDD.c(91): error: #147-D: declaration is incompatible with
"bool PE_PeripheralUsed(uint32)" (declared at line 2175 of
"./Generated_Code/PE_LDD.h")
compiling Red_LED.c...
compiling Vectors.c...
compiling IO1.c...
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(40):
error: #256: invalid redeclaration of
type name "int32" (declared at line 60 of
"Generated_Code\PE_Types.h")
D:\Keil\ARM\ARMCC\bin\..\include\stdint.h(46):
error: #256: invalid redeclaration of
type name "uint32" (declared at line 64 of "Generated_Code\PE_Types.h")
compiling CsIO1.c...
compiling ProcessorExpert.c...
Sources\ProcessorExpert.c(108):warning: #128-D: loop is not reachable
Sources\ProcessorExpert.c(110):
warning: #111-D: statement is
unreachable
Sources\ProcessorExpert.c(43): warning: #177-D: variable "temp_char" wasdeclared but never referenced
Sources\ProcessorExpert.c(44):
warning: #177-D: variable "i"
was declared but never referenced
Sources\ProcessorExpert.c(44):
warning: #177-D: variable
"interval" was declared but never referenced
Sources\ProcessorExpert.c(45):
warning: #177-D: variable
"Error" was declared but never referenced
compiling Events.c...
compiling startup_ARM_CC.c...
Target not created 展开
若以下回答无法解决问题,邀请你更新回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询