Hai..
Currently I am using the LPC1768 using keil uvision 4 and I am testing the example code from Keil "MCB1700_SD_File" to test SD card. While I build the code I got the below mentioned errors. Could you please tell me how to resolve the issue.
1] C:\Keil\ARM\RV31\INC\File_lib.c(45): error: #35: #error directive: all drives disabled in configuration
2} SD_File.c(518): error: #20: identifier "MMCFG" is undefined
3] SD_File.c(528): error: #165: too few arguments in function call
4] SD_File.c(541): warning: #223-D: function "mmc_read_config" declared implicitly
Thanks
Hi...
Can you please tell me how to do those changes..i mean to say how can i enable the drivers in configuration and how should i define the MMCFG
"all drives disabled in configuration"
So enable some, then!
"identifier "MMCFG" is undefined"
So define it, then!
"too few arguments in function call"
So supply the correct number of arguments, then!
"function "mmc_read_config" declared implicitly"
So declare it explicitly, then!
Perhaps the project expects a number of defines to be passed to the compiler, suggest you review the original project you copied, paying particular attention to the Options, and C/C++ settings tab.
View all questions in Keil forum