/hal_espressif-3.6.0/examples/storage/ext_flash_fatfs/main/ |
D | ext_flash_fatfs_example_main.c | 32 … const esp_partition_t* example_add_partition(esp_flash_t* ext_flash, const char* partition_label); 34 static bool example_mount_fatfs(const char* partition_label); 46 const char *partition_label = "storage"; in app_main() local 47 example_add_partition(flash, partition_label); in app_main() 53 if (!example_mount_fatfs(partition_label)) { in app_main() 138 …c const esp_partition_t* example_add_partition(esp_flash_t* ext_flash, const char* partition_label) in example_add_partition() argument 140 …ESP_LOGI(TAG, "Adding external Flash as a partition, label=\"%s\", size=%d KB", partition_label, e… in example_add_partition() 142 …ESP_ERROR_CHECK(esp_partition_register_external(ext_flash, 0, ext_flash->size, partition_label, ES… in example_add_partition() 160 static bool example_mount_fatfs(const char* partition_label) in example_mount_fatfs() argument 168 …esp_err_t err = esp_vfs_fat_spiflash_mount(base_path, partition_label, &mount_config, &s_wl_handle… in example_mount_fatfs()
|
/hal_espressif-3.6.0/components/fatfs/vfs/ |
D | vfs_fat_spiflash.c | 30 const char* partition_label, in esp_vfs_fat_spiflash_mount() argument 38 esp_partition_subtype_t subtype = partition_label ? in esp_vfs_fat_spiflash_mount() 41 subtype, partition_label); in esp_vfs_fat_spiflash_mount() 43 … (type='data', subtype='fat', partition_label='%s'). Check the partition table.", partition_label); in esp_vfs_fat_spiflash_mount() 137 const char* partition_label, in esp_vfs_fat_rawflash_mount() argument 143 ESP_PARTITION_SUBTYPE_DATA_FAT, partition_label); in esp_vfs_fat_rawflash_mount() 145 … (type='data', subtype='fat', partition_label='%s'). Check the partition table.", partition_label); in esp_vfs_fat_rawflash_mount() 189 esp_err_t esp_vfs_fat_rawflash_unmount(const char *base_path, const char* partition_label) in esp_vfs_fat_rawflash_unmount() argument 192 ESP_PARTITION_SUBTYPE_DATA_FAT, partition_label); in esp_vfs_fat_rawflash_unmount() 195 … (type='data', subtype='fat', partition_label='%s'). Check the partition table.", partition_label); in esp_vfs_fat_rawflash_unmount()
|
D | esp_vfs_fat.h | 236 const char* partition_label, 277 const char* partition_label, 290 esp_err_t esp_vfs_fat_rawflash_unmount(const char* base_path, const char* partition_label);
|
/hal_espressif-3.6.0/components/spiffs/include/ |
D | esp_spiffs.h | 30 …const char* partition_label; /*!< Optional, label of SPIFFS partition to use. If set to NULL, f… member 58 esp_err_t esp_vfs_spiffs_unregister(const char* partition_label); 70 bool esp_spiffs_mounted(const char* partition_label); 80 esp_err_t esp_spiffs_format(const char* partition_label); 93 esp_err_t esp_spiffs_info(const char* partition_label, size_t *total_bytes, size_t *used_bytes);
|
/hal_espressif-3.6.0/components/nvs_flash/src/ |
D | nvs_partition_manager.cpp | 28 esp_err_t NVSPartitionManager::init_partition(const char *partition_label) in init_partition() argument 30 if (strlen(partition_label) > NVS_PART_NAME_MAX_SIZE) { in init_partition() 37 mStorage = lookup_storage_from_name(partition_label); in init_partition() 45 esp_err_t result = partition_lookup::lookup_nvs_partition(partition_label, &p); in init_partition() 144 esp_err_t NVSPartitionManager::deinit_partition(const char *partition_label) in deinit_partition() argument 146 Storage* storage = lookup_storage_from_name(partition_label); in deinit_partition() 164 if (strcmp(it->get_partition_name(), partition_label) == 0) { in deinit_partition()
|
D | nvs_partition_manager.hpp | 30 esp_err_t init_partition(const char *partition_label); 38 esp_err_t deinit_partition(const char *partition_label);
|
/hal_espressif-3.6.0/components/spiffs/ |
D | esp_spiffs.c | 151 if (esp_spiffs_by_label(conf->partition_label, &index) == ESP_OK) { in esp_spiffs_init() 168 esp_partition_subtype_t subtype = conf->partition_label ? in esp_spiffs_init() 171 subtype, conf->partition_label); in esp_spiffs_init() 198 efs->by_label = conf->partition_label != NULL; in esp_spiffs_init() 274 bool esp_spiffs_mounted(const char* partition_label) in esp_spiffs_mounted() argument 277 if (esp_spiffs_by_label(partition_label, &index) != ESP_OK) { in esp_spiffs_mounted() 283 esp_err_t esp_spiffs_info(const char* partition_label, size_t *total_bytes, size_t *used_bytes) in esp_spiffs_info() argument 286 if (esp_spiffs_by_label(partition_label, &index) != ESP_OK) { in esp_spiffs_info() 293 esp_err_t esp_spiffs_format(const char* partition_label) in esp_spiffs_format() argument 301 esp_err_t err = esp_spiffs_by_label(partition_label, &index); in esp_spiffs_format() [all …]
|
/hal_espressif-3.6.0/components/nvs_flash/include/ |
D | nvs_flash.h | 80 esp_err_t nvs_flash_init_partition(const char *partition_label); 118 esp_err_t nvs_flash_deinit_partition(const char* partition_label); 209 esp_err_t nvs_flash_secure_init_partition(const char *partition_label, nvs_sec_cfg_t* cfg);
|
/hal_espressif-3.6.0/examples/storage/spiffs/main/ |
D | spiffs_example_main.c | 25 .partition_label = NULL, in app_main() 46 ret = esp_spiffs_info(conf.partition_label, &total, &used); in app_main() 97 esp_vfs_spiffs_unregister(conf.partition_label); in app_main()
|
/hal_espressif-3.6.0/examples/storage/spiffsgen/main/ |
D | spiffsgen_example_main.c | 90 .partition_label = NULL, in app_main()
|
/hal_espressif-3.6.0/examples/protocols/http_server/restful_server/main/ |
D | esp_rest_main.c | 98 .partition_label = NULL, in init_fs()
|
/hal_espressif-3.6.0/components/vfs/test/ |
D | test_vfs_append.c | 107 .partition_label = TEST_PARTITION_LABEL,
|
/hal_espressif-3.6.0/components/spiffs/test/ |
D | test_spiffs.c | 456 .partition_label = spiffs_test_partition_label, in test_setup() 510 .partition_label = spiffs_test_partition_label, 540 .partition_label = spiffs_test_partition_label,
|
/hal_espressif-3.6.0/examples/protocols/http_server/file_serving/main/ |
D | main.c | 88 .partition_label = NULL, in init_spiffs()
|