fs: fatfs: Add CONFIG_FS_FATFS_LBA64

The Kconfig option enables support for 64-bit LBA, which also allows
to enable  GUID Partition Table (GPT) support.

Signed-off-by: Grygorii Strashko <grygorii_strashko@epam.com>
This commit is contained in:
Grygorii Strashko 2024-05-31 18:13:44 +03:00 committed by Fabio Baltieri
commit 01f72f92b4
2 changed files with 12 additions and 0 deletions

View file

@ -71,6 +71,11 @@
#define FF_FS_TIMEOUT K_FOREVER
#endif /* defined(CONFIG_FS_FATFS_REENTRANT) */
#if defined(CONFIG_FS_FATFS_LBA64)
#undef FF_LBA64
#define FF_LBA64 CONFIG_FS_FATFS_LBA64
#endif /* defined(CONFIG_FS_FATFS_LBA64) */
/*
* These options are override from default values, but have no Kconfig
* options.