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:
parent
cba339a6f4
commit
01f72f92b4
2 changed files with 12 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -230,6 +230,13 @@ config FS_FATFS_REENTRANT
|
|||
access for each volume. Will create a zephyr mutex object for each
|
||||
FatFs volume and a FatFs system mutex.
|
||||
|
||||
config FS_FATFS_LBA64
|
||||
bool "Support for 64-bit LBA"
|
||||
depends on FS_FATFS_EXFAT
|
||||
help
|
||||
This option enables support for 64-bit LBA, which also
|
||||
enables GPT support.
|
||||
|
||||
endmenu
|
||||
|
||||
endif # FAT_FILESYSTEM_ELM
|
||||
|
|
|
|||
Loading…
Reference in a new issue