On our platform we don't use the filesystem, so we would like to exclude it from the build. For this reason, we have been disabling it in Kconfig (CONFIG_FILE_SYSTEM=n in prj.conf).
This has worked well with SDK version 2.3.0. However, with 2.4.0 this now results in the following error:
C:\ncs\v2.4.0\modules\fs\fatfs\ff.c:499:2: error: #error LFN must be enabled when enable exFAT
499 | #error LFN must be enabled when enable exFAT
This happens even if I explicitly add CONFIG_FS_FATFS_EXFAT=n to the configuration file (although as I understand it, this should follow from CONFIG_FILE_SYSTEM=n).
The same happens if I remove all these settings from prj.conf and disable the file system via the Kconfig GUI (Subsystems and OS Services -> File Systems -> File system support).
Is this a known error? Or is there some additional setting that I know have to use?