ببینید من فقط از کدها و کتابخونه های قسمت Flashfs و بخش کارت SD استفاده کردم ، برنامه مربوطش رو به شکلی که نیازم بود تغییر دادم خلاصه کردم و شکر خدا به خوبی نیازم رو مرتفع کرد ، فکر کنم کرک کردن زمانی لازم هست که از سیستم عامل می خوای استفاده کنی چون من با کامپایلر قبلی بدون کرک کردن Rl_arm جواب گرفتم ، مثلا ارور رو ببنید :
MCI_LPC23xx.c(111): error: #20: identifier "CARD_SDV2" is undefined
این ارور مربوط هست به کدهای تابع MCI_LPC23xx.c که اصلا دستکاری نشده !!
کد:
SD_File.c(158): error: #165: too few arguments in function call *"
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(102): error: #20: identifier "CARD_NONE" is undefined
MCI_LPC23xx.c(111): error: #20: identifier "CARD_SDV2" is undefined
MCI_LPC23xx.c(117): error: #20: identifier "CARD_SDV2" is undefined
MCI_LPC23xx.c(121): error: #20: identifier "CARD_SD" is undefined
MCI_LPC23xx.c(128): error: #20: identifier "CARD_SDV2" is undefined
MCI_LPC23xx.c(132): error: #20: identifier "CARD_SDV2_HC" is undefined
MCI_LPC23xx.c(145): error: #20: identifier "CARD_MMC" is undefined
MCI_LPC23xx.c(165): error: #20: identifier "CARD_MMC" is undefined
MCI_LPC23xx.c(176): error: #20: identifier "CARD_SD" is undefined
MCI_LPC23xx.c(241): error: #20: identifier "CARD_SD" is undefined
MCI_LPC23xx.c(260): error: #20: identifier "CARD_MMC" is undefined
MCI_LPC23xx.c(286): error: #20: identifier "CARD_SD" is undefined
MCI_LPC23xx.c(309): error: #20: identifier "CARD_SD" is undefined
MCI_LPC23xx.c(375): error: #20: identifier "CARD_SDV2_HC" is undefined
MCI_LPC23xx.c(400): error: #20: identifier "CARD_SDV2_HC" is undefined
MCI_LPC23xx.c(421): error: #20: identifier "CARD_SD" is undefined
MCI_LPC23xx.c(682): error: #20: identifier "MMCFG" is undefined
MCI_LPC23xx.c(693): error: #132: expression must have pointer-to-struct-or-union type
MCI_LPC23xx.c(697): error: #20: identifier "CARD_SD" is undefined
MCI_LPC23xx.c(716): error: #132: expression must have pointer-to-struct-or-union type
MCI_LPC23xx.c(720): error: #132: expression must have pointer-to-struct-or-union type
MCI_LPC23xx.c(728): error: #132: expression must have pointer-to-struct-or-union type
MCI_LPC23xx.c(732): error: #132: expression must have pointer-to-struct-or-union type