problems in applying sdmmc folder

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

problems in applying sdmmc folder

956 Views
lessiffy
Contributor II

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!

01.png03.png04.png

Labels (1)
Tags (2)
0 Kudos
Reply
3 Replies

855 Views
jingpan
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

855 Views
lessiffy
Contributor II

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

0 Kudos
Reply

855 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Did you add fsl_sdhc.c/.h in driver?

Regards,

Jing

0 Kudos
Reply