Functions f_findfirst and f_findnext available

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

Functions f_findfirst and f_findnext available

1,026 Views
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

Labels (1)
0 Kudos
Reply
2 Replies

597 Views
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 Kudos
Reply

597 Views
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 Kudos
Reply