Hi!
While I copy the sdmmc folder to my own project and build it, there comes many similar errors like "error: unknown type name 'sd_card_t'". I have already included the necessary headers in Paths but it somehow cannot be recognized. Here are the screenshots of my project.
By comparing the example to my own project(the left one), I found there's one debugging difference as shown in the screenshots. There's a .o file missing. I have no clue what caused that. Need some help!
Thanks!
Best Regards!
Hi Li,
You can drag & drop source file to project. But be caution that when you want to create a folder, you must right click the project name -> new -> Source Folder. Other wise, the file in that folder want be compiled by IDE.
Regards,
Jing
Thanks!
When I copied the source folder from the example to my project, it turns to a normal folder. So I tried to follow your steps to create a source folder. But the problems remain the same. I think there might be other causes):
Regards,
Li
Hi,
Did you add fsl_sdhc.c/.h in driver?
Regards,
Jing