problems in applying sdmmc folder

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

problems in applying sdmmc folder

728件の閲覧回数
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 返答(返信)

627件の閲覧回数
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 件の賞賛

627件の閲覧回数
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 件の賞賛

627件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

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

Regards,

Jing

0 件の賞賛