change: renamed FATFS convenience mounting functions

change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
This commit is contained in:
Matus Fabo
2022-03-04 20:15:49 +01:00
committed by BOT
parent 199d72c19c
commit 24268d47a2
24 changed files with 109 additions and 117 deletions

View File

@@ -28,7 +28,7 @@ extern "C" void app_main(void)
mount_config.format_if_mount_failed = true;
mount_config.allocation_unit_size = CONFIG_WL_SECTOR_SIZE;
esp_err_t err = esp_vfs_fat_spiflash_mount(base_path, "storage", &mount_config, &s_wl_handle);
esp_err_t err = esp_vfs_fat_spiflash_mount_rw_wl(base_path, "storage", &mount_config, &s_wl_handle);
if (err != ESP_OK) {
ESP_LOGE(TAG, "Failed to mount FATFS (%s)", esp_err_to_name(err));
return;