

SD-SPI.c:393: error: 'SD_CS' undeclared (first use in this function) SD-SPI.c:352: error: 'SD_CS' undeclared (first use in this function) SD-SPI.c: In function 'MDD_SDSPI_ShutdownMedia': SD-SPI.c:320: error: 'SD_WE_TRIS' undeclared (first use in this function) SD-SPI.c:319: error: 'SD_CS_TRIS' undeclared (first use in this function) SD-SPI.c:318: error: 'SD_CS' undeclared (first use in this function) SD-SPI.c:317: error: 'SD_CD_TRIS' undeclared (first use in this function) SD-SPI.c: In function 'MDD_SDSPI_InitIO': SD-SPI.c:236: warning: control reaches end of non-void function SD-SPI.c:197: error: for each function it appears in.) SD-SPI.c:197: error: (Each undeclared identifier is reported only once SD-SPI.c:197: error: 'SD_CD' undeclared (first use in this function) SD-SPI.c: In function 'MDD_SDSPI_MediaDetect': Language tool versions: pic30-as.exe v3.24, pic30-gcc.exe v3.24, pic30-ld.exe v3.24, pic30-ar.exe v3.24Ĭlean: Deleting intermediary and output files.Ĭlean: Deleted file "C:\Microchip Solutions v\MDD File System-SD Card\MDDFS-SD-PIC24.mcs".Įxecuting: "C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24F16KA102 -x c -c "SD-SPI.c" -o".\Object - MDD File System-SD-PIC24\SD-SPI.o" -I"." -I".\PIC24F" -I".\Include" -I".\Include\MDD File System" -I".\Microchip\Include" -I".\Microchip\Include\MDD File System" -I".\.\Microchip\Include\MDD File System" -I".\.\MDD File System-SD Card" -I".\.\MDD File System-SD Card\PIC24F" -g -Wall

Release build of project `C:\Microchip Solutions v\MDD File System-SD Card\MDDFS-SD-PIC24.mcp' started.

The build fails because I am selecing the device 24F16KA102. I am trying to use the MDD library but when I try to build the source code I am getting the following errors.
