Page 2 of 2

Re: _FS_LOCK makes f_open return error in IDF 3.0

Posted: Tue Nov 28, 2017 5:05 am
by abcdcadb
Hi ESP_igrr ,

I read ff.h again and recognize that besides the error 16 (FR_LOCKED) that I am facing, there is the error 18:

Code: Select all

FR_TOO_MANY_OPEN_FILES,	/* (18) Number of open files > _FS_LOCK */
I guess the problem we discussed that should belong to this error, instead of error 16

if it is correct, i should change the approach.

any idea?

Re: _FS_LOCK makes f_open return error in IDF 3.0

Posted: Wed Nov 29, 2017 3:00 am
by igrr
Sorry, I don't quite understand the question — do you want to know how to adjust the maximum number of open files? Or how to set FS_LOCK option?

Re: _FS_LOCK makes f_open return error in IDF 3.0

Posted: Wed Nov 29, 2017 3:23 am
by abcdcadb

Code: Select all

Sorry, I don't quite understand the question — do you want to know how to adjust the maximum number of open files? Or how to set FS_LOCK option?
I mean that this error doesnt involve in FS_LOCK because FS_LOCK belongs to error 18