Functions f_findfirst and f_findnext available

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

Functions f_findfirst and f_findnext available

1,956 次查看
neilporven
Senior Contributor I


          I am getting an error : implicit declaration of function 'f_findfirst' [-Wimplicit-function-declaration]

                                              implicit declaration of function 'f_findnext' [-Wimplicit-function-declaration]

                                              implicit declaration of function 'f_closedir' [-Wimplicit-function-declaration]

 

Are these functions available under FatFs 0.09b? 

 

I can't find them on the ffconf.h folder.

 

Thank you,

Neil

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

1,527 次查看
neilporven
Senior Contributor I

Quick Update,

It doesn't seem that the functions are available under FatFs 0.09b, I don't know how far forward they come into play,

but if you download ff11a.zip and go into the documents, they are displayed there.

Neil.

0 项奖励
回复

1,527 次查看
isaacavila
NXP Employee
NXP Employee

Hello Neil,

These function are not available in FatFs 0.09 release, however, they are included in newest FatFs version (0.11a) that is included in SDK 2.0.

You only need to define _USE_FIND as 1 instead of 0 (by default it is disabled):

#define _USE_FIND 0

/* This option switches filtered directory read feature and related functions,

/  f_findfirst() and f_findnext(). (0:Disable or 1:Enable) */

In order to have these functions (f_findnext and f_findfirst) available on ff.c file.

I hope this can help you!

Regards,

Isaac

0 项奖励
回复