اطلاعیه
Collapse
No announcement yet.
پروژه پخش فایل های صوتی توسط LPC1768
Collapse
X
-
پاسخ : پروژه پخش فایل های صوتی توسط LPC1768
سلام ییخشید واسه من این ارور رو میده میتونید کمکم کنید .
Rebuild target 'lpc1768'
assembling startup_LPC17xx.s...
compiling system_LPC17xx.c...
compiling File_Config.c...
File_Config.c(150): error: #77-D: this declaration has no storage class or type specifier
DEVCONF const FlashDev [1] = {0,0};
File_Config.c(150): error: #65: expected a ";"
DEVCONF const FlashDev [1] = {0,0};
File_Config.c(169): error: #77-D: this declaration has no storage class or type specifier
DEVCONF const SpiDev [1] = {0,0};
File_Config.c(169): error: #65: expected a ";"
DEVCONF const SpiDev [1] = {0,0};
File_Config.c(211): error: #77-D: this declaration has no storage class or type specifier
DEVCONF const RamDev [1] = {0,0};
File_Config.c(211): error: #65: expected a ";"
DEVCONF const RamDev [1] = {0,0};
File_Config.c: 0 warnings, 6 errors
compiling main.c...
main.c(46): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
strcpy(NAME,&info.name[i]);
main.c(64): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
strcpy(NAME,&info.name[i]);
main.c(109): warning: #127-D: expectd a statement
}
main.c(152): error: #165: too few arguments in function call
while ((retv = finit ()) != 0) /* Wait until the Card is ready*/
main.c: 3 warnings, 1 error
compiling SPI_LPC17xx.c...
compiling Retarget.c...
".\player.axf" - 7 Error(s), 3 Warning(s).
Target not created
-
پاسخ : پروژه پخش فایل های صوتی توسط LPC1768
نوشته اصلی توسط Behnam_aسلام ییخشید واسه من این ارور رو میده میتونید کمکم کنید .
Rebuild target 'lpc1768'
assembling startup_LPC17xx.s...
compiling system_LPC17xx.c...
compiling File_Config.c...
File_Config.c(150): error: #77-D: this declaration has no storage class or type specifier
DEVCONF const FlashDev [1] = {0,0};
File_Config.c(150): error: #65: expected a ";"
DEVCONF const FlashDev [1] = {0,0};
File_Config.c(169): error: #77-D: this declaration has no storage class or type specifier
DEVCONF const SpiDev [1] = {0,0};
File_Config.c(169): error: #65: expected a ";"
DEVCONF const SpiDev [1] = {0,0};
File_Config.c(211): error: #77-D: this declaration has no storage class or type specifier
DEVCONF const RamDev [1] = {0,0};
File_Config.c(211): error: #65: expected a ";"
DEVCONF const RamDev [1] = {0,0};
File_Config.c: 0 warnings, 6 errors
compiling main.c...
main.c(46): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
strcpy(NAME,&info.name[i]);
main.c(64): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
strcpy(NAME,&info.name[i]);
main.c(109): warning: #127-D: expectd a statement
}
main.c(152): error: #165: too few arguments in function call
while ((retv = finit ()) != 0) /* Wait until the Card is ready*/
main.c: 3 warnings, 1 error
compiling SPI_LPC17xx.c...
compiling Retarget.c...
".\player.axf" - 7 Error(s), 3 Warning(s).
Target not created
http://www.eca.ir/forum2/index.php?topic=83005.0
دیدگاه
دیدگاه