Chào các bạn hiện mình đang làm project với SDcard trên board MCB2300.
Mình đã kiếm được example trên mạng nhưng đem về build thì thấy lỗi các bạn xem hộ mình:
Mình có đinh kèm project bên dưới.mcb2300_sd_file.zipmcb2300_sd_file.zip
Mình đã kiếm được example trên mạng nhưng đem về build thì thấy lỗi các bạn xem hộ mình:
Code:
Rebuild target 'MCB2300' compiling SD_File.c... SD_File.c(516): error: #165: too few arguments in function call compiling Getline.c... assembling LPC2300.s... compiling File_Config.c... File_Config.c(150): error: #77-D: this declaration has no storage class or type specifier File_Config.c(150): error: #65: expected a ";" File_Config.c(169): error: #77-D: this declaration has no storage class or type specifier File_Config.c(169): error: #65: expected a ";" File_Config.c(211): error: #77-D: this declaration has no storage class or type specifier File_Config.c(211): error: #65: expected a ";" compiling MCI_LPC23xx.c... MCI_LPC23xx.c(96): error: #20: identifier "CARD_NONE" is undefined MCI_LPC23xx.c(101): error: #20: identifier "CARD_MMC" is undefined MCI_LPC23xx.c(115): error: #20: identifier "CARD_SD" is undefined MCI_LPC23xx.c(135): error: #20: identifier "CARD_MMC" is undefined MCI_LPC23xx.c(146): error: #20: identifier "CARD_SD" is undefined MCI_LPC23xx.c(211): error: #20: identifier "CARD_SD" is undefined MCI_LPC23xx.c(230): error: #20: identifier "CARD_MMC" is undefined MCI_LPC23xx.c(257): error: #20: identifier "CARD_SD" is undefined MCI_LPC23xx.c(280): error: #20: identifier "CARD_SD" is undefined MCI_LPC23xx.c(388): error: #20: identifier "CARD_SD" is undefined MCI_LPC23xx.c(654): error: #20: identifier "MMCFG" is undefined MCI_LPC23xx.c(665): error: #132: expression must have pointer-to-struct-or-union type MCI_LPC23xx.c(669): error: #20: identifier "CARD_SD" is undefined MCI_LPC23xx.c(688): error: #132: expression must have pointer-to-struct-or-union type MCI_LPC23xx.c(692): error: #132: expression must have pointer-to-struct-or-union type MCI_LPC23xx.c(697): error: #132: expression must have pointer-to-struct-or-union type compiling Serial.c... compiling Retarget.c... compiling LCD.c... Target not created
Comment