CONFIG_WL_SECTOR_SIZE is overriding .allocation_unit_size
Posted: Mon Feb 24, 2025 8:07 am
CONFIG_WL_SECTOR_SIZE is overriding .allocation_unit_size in
esp_vfs_fat_spiflash_mount_rw_wl
sdkconfig
and
and
in the esp_vfs_fat_mount_config_t
I am still getting
Mounting with .allocation_unit_size 512
W (1295) vfs_fat_spiflash: f_mount failed (13)
I (1295) vfs_fat_spiflash: Formatting FATFS partition, allocation unit size=4096
the allocation_unit_size and the CONFIG_FATFS_SECTOR variable are both ignored.
esp_vfs_fat_spiflash_mount_rw_wl
sdkconfig
Code: Select all
#
# Wear Levelling
#
# CONFIG_WL_SECTOR_SIZE_512 is not set
CONFIG_WL_SECTOR_SIZE_4096=y
CONFIG_WL_SECTOR_SIZE=4096
# end of Wear Levelling
Code: Select all
CONFIG_FATFS_SECTOR_512=y
# CONFIG_FATFS_SECTOR_4096 is not set
Code: Select all
.allocation_unit_size = 512I am still getting
Mounting with .allocation_unit_size 512
W (1295) vfs_fat_spiflash: f_mount failed (13)
I (1295) vfs_fat_spiflash: Formatting FATFS partition, allocation unit size=4096
the allocation_unit_size and the CONFIG_FATFS_SECTOR variable are both ignored.