The M5Stack CoreS3 BSP has the following test:
|
#if !CONFIG_FATFS_LONG_FILENAMES |
The CONFIG_FATFS_LONG_FILENAMES macro doesn't exists as such, it is a header for the CONFIG_FATFS_LFN_xxx macros (reference)
I believe the correct way to test would be:
#ifdef CONFIG_FATFS_LFN_NONE
(This doesn't affect the working of the code as it just used to log a warning)