mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
fatfsgen.py: enabled 512 sized sectors
This commit is contained in:
@@ -47,7 +47,10 @@ FATFS_SECONDS_GRANULARITY: int = 2
|
||||
LONG_NAMES_ENCODING: str = 'utf-16'
|
||||
SHORT_NAMES_ENCODING: str = 'utf-8'
|
||||
|
||||
ALLOWED_SECTOR_SIZES: List[int] = [4096]
|
||||
# compatible with WL_SECTOR_SIZE
|
||||
# choices are WL_SECTOR_SIZE_512 and WL_SECTOR_SIZE_4096
|
||||
ALLOWED_SECTOR_SIZES: List[int] = [512, 4096]
|
||||
|
||||
ALLOWED_SECTORS_PER_CLUSTER: List[int] = [1, 2, 4, 8, 16, 32, 64, 128]
|
||||
|
||||
|
||||
@@ -286,4 +289,5 @@ class FATDefaults:
|
||||
TEMP_BUFFER_SIZE: int = 32
|
||||
UPDATE_RATE: int = 16
|
||||
WR_SIZE: int = 16
|
||||
# wear leveling metadata (config sector) contains always sector size 4096
|
||||
WL_SECTOR_SIZE: int = 4096
|
||||
|
Reference in New Issue
Block a user