problems in applying sdmmc folder

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

problems in applying sdmmc folder

1,422 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
3 回复数

1,321 次查看
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 项奖励
回复

1,321 次查看
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 项奖励
回复

1,321 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

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

Regards,

Jing

0 项奖励
回复