Functions f_findfirst and f_findnext available

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

Functions f_findfirst and f_findnext available

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

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

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