Attempting to remove/delete a non-empty directory from the FS returns different error codes when using FatFS vs LittleFS
- Type: Bug
- Priority: Major
Bug
Target
K64F
Toolchain:
GCC_ARM
Expected behavior
The same error code will be returned for both file systems
Actual behavior
When trying to remove a non-empty directory using FatFS: error code = EACCES
When trying to remove a non-empty directory using LittleFS: error code = EINVAL
Steps to reproduce
remove a non empty directory using FatFS and then using LittleFS
@geky