Skip to content

Commit e20e64a

Browse files
committed
fatfs/test: use 16k cluster size to speed up formatting
1 parent 4a2489b commit e20e64a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/fatfs/test/test_fatfs_sdmmc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ static void test_setup(void)
3939
sdmmc_slot_config_t slot_config = SDMMC_SLOT_CONFIG_DEFAULT();
4040
esp_vfs_fat_sdmmc_mount_config_t mount_config = {
4141
.format_if_mount_failed = true,
42-
.max_files = 5
42+
.max_files = 5,
43+
.allocation_unit_size = 16 * 1024
4344
};
4445
TEST_ESP_OK(esp_vfs_fat_sdmmc_mount("/sdcard", &host, &slot_config, &mount_config, NULL));
4546
}

0 commit comments

Comments
 (0)