I am working Microchip's SAM series ATSAMC21-XPRO microcontroller, have interfaced it with a micro-SD card module. I am using IDE Atmel Studio7 with ASF3. I referred to the ATSAMD21-XPRO's SD card example to write a code for SAMC21 but I am facing some errors with the FatFs files. I had added the SD/MMC and FatFs drivers from the list as given in the ASF Wizard of the IDE. Whatever functions/variables that are used in the main are declared, defined and linked in the files generated by the IDE, but still I am facing errors like " undefined reference to `disk_read' ".
Kindly, help me out please. I am attaching my main.c file and a screenshot of errors.