Home
last modified time | relevance | path

Searched refs:esp_partition_t (Results 1 – 25 of 76) sorted by relevance

1234

/hal_espressif-3.4.0/components/spi_flash/include/
Desp_partition.h124 } esp_partition_t; typedef
158 const esp_partition_t* esp_partition_find_first(esp_partition_type_t type, esp_partition_subtype_t …
168 const esp_partition_t* esp_partition_get(esp_partition_iterator_t iterator);
209 const esp_partition_t *esp_partition_verify(const esp_partition_t *partition);
231 esp_err_t esp_partition_read(const esp_partition_t* partition,
264 esp_err_t esp_partition_write(const esp_partition_t* partition,
287 esp_err_t esp_partition_read_raw(const esp_partition_t* partition,
316 esp_err_t esp_partition_write_raw(const esp_partition_t* partition,
335 esp_err_t esp_partition_erase_range(const esp_partition_t* partition,
363 esp_err_t esp_partition_mmap(const esp_partition_t* partition, size_t offset, size_t size,
[all …]
/hal_espressif-3.4.0/components/app_update/test/
Dtest_switch_ota.c49 static void copy_app_partition(esp_ota_handle_t update_handle, const esp_partition_t *curr_app) in copy_app_partition()
65 static void copy_app_partition_with_offset(esp_ota_handle_t update_handle, const esp_partition_t *c… in copy_app_partition_with_offset()
90 static void copy_partition(const esp_partition_t *dst_partition, const esp_partition_t *src_partiti… in copy_partition()
105 static const esp_partition_t * get_next_update_partition(void) in get_next_update_partition()
107 const esp_partition_t *update_partition = esp_ota_get_next_update_partition(NULL); in get_next_update_partition()
118 static void copy_current_app_to_next_part(const esp_partition_t *cur_app_partition, const esp_parti… in copy_current_app_to_next_part()
138 …copy_current_app_to_next_part_with_offset(const esp_partition_t *cur_app_partition, const esp_part… in copy_current_app_to_next_part_with_offset()
157 …const esp_partition_t *data_partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PART… in erase_ota_data()
175 const esp_partition_t *cur_app = esp_ota_get_running_partition(); in copy_current_app_to_next_part_and_reboot()
185 const esp_partition_t *cur_app = esp_ota_get_running_partition(); in copy_current_app_to_next_part_with_offset_and_reboot()
[all …]
Dtest_ota_ops.c24 const esp_partition_t *running = esp_ota_get_running_partition();
25 esp_partition_t partition;
40 memcpy(&partition, running, sizeof(esp_partition_t));
50 const esp_partition_t *running = esp_ota_get_running_partition();
51 const esp_partition_t *factory = esp_partition_find_first(ESP_PARTITION_TYPE_APP,
53 const esp_partition_t *ota_0 = esp_partition_find_first(ESP_PARTITION_TYPE_APP,
55 const esp_partition_t *ota_1 = esp_partition_find_first(ESP_PARTITION_TYPE_APP,
57 const esp_partition_t *ota_2 = esp_partition_find_first(ESP_PARTITION_TYPE_APP,
73 const esp_partition_t *p = esp_ota_get_next_update_partition(NULL);
94 const esp_partition_t *running = esp_ota_get_running_partition();
[all …]
/hal_espressif-3.4.0/components/app_update/include/
Desp_ota_ops.h92 esp_err_t esp_ota_begin(const esp_partition_t* partition, size_t image_size, esp_ota_handle_t* out_…
179 esp_err_t esp_ota_set_boot_partition(const esp_partition_t* partition);
198 const esp_partition_t* esp_ota_get_boot_partition(void);
214 const esp_partition_t* esp_ota_get_running_partition(void);
229 const esp_partition_t* esp_ota_get_next_update_partition(const esp_partition_t *start_from);
245 esp_err_t esp_ota_get_partition_description(const esp_partition_t *partition, esp_app_desc_t *app_d…
280 const esp_partition_t* esp_ota_get_last_invalid_partition(void);
293 esp_err_t esp_ota_get_state_partition(const esp_partition_t *partition, esp_ota_img_states_t *ota_s…
/hal_espressif-3.4.0/components/app_update/
Desp_ota_ops.c39 const esp_partition_t *part;
55 static bool is_ota_partition(const esp_partition_t *p) in is_ota_partition()
65 static const esp_partition_t *read_otadata(esp_ota_select_entry_t *two_otadata) in read_otadata()
67 …const esp_partition_t *otadata_partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_P… in read_otadata()
88 static esp_err_t image_validate(const esp_partition_t *partition, esp_image_load_mode_t load_mode) in image_validate()
113 esp_err_t esp_ota_begin(const esp_partition_t *partition, size_t image_size, esp_ota_handle_t *out_… in esp_ota_begin()
131 const esp_partition_t* running_partition = esp_ota_get_running_partition(); in esp_ota_begin()
358 …ota_select_entry_t *two_otadata, uint32_t seq, uint8_t sec_id, const esp_partition_t *ota_data_par… in rewrite_ota_seq()
387 const esp_partition_t *otadata_partition = read_otadata(otadata); in esp_rewrite_ota_data()
431 esp_err_t esp_ota_set_boot_partition(const esp_partition_t *partition) in esp_ota_set_boot_partition()
[all …]
/hal_espressif-3.4.0/components/spi_flash/
Dpartition.c41 esp_partition_t info;
51esp_partition_t* info; // pointer to info (it is redundant, but makes code more rea…
114 esp_partition_t* p = &it->next_item->info; in esp_partition_next()
137 const esp_partition_t* esp_partition_find_first(esp_partition_type_t type, in esp_partition_find_first()
144 const esp_partition_t* res = esp_partition_get(it); in esp_partition_find_first()
303 const esp_partition_t* esp_partition_get(esp_partition_iterator_t iterator) in esp_partition_get()
311 const esp_partition_t** out_partition) in esp_partition_register_external()
367 esp_err_t esp_partition_deregister_external(const esp_partition_t* partition) in esp_partition_deregister_external()
388 const esp_partition_t *esp_partition_verify(const esp_partition_t *partition) in esp_partition_verify()
396 const esp_partition_t *p = esp_partition_get(it); in esp_partition_verify()
[all …]
/hal_espressif-3.4.0/components/spi_flash/test/
Dtest_esp_flash.c127 typedef void (*flash_test_func_t)(const esp_partition_t *part);
421 const esp_partition_t* test_part = get_test_data_partition(); in flash_test_core()
424 esp_partition_t part = *test_part; in flash_test_core()
453 static void test_metadata(const esp_partition_t* part) in test_metadata()
465 static uint32_t erase_test_region(const esp_partition_t *part, int num_sectors) in erase_test_region()
494 void test_simple_read_write(const esp_partition_t* part) in test_simple_read_write()
525 void test_unaligned_read_write(const esp_partition_t* part) in test_unaligned_read_write()
546 void test_single_read_write(const esp_partition_t* part) in test_single_read_write()
574 void test_three_byte_read_write(const esp_partition_t* part) in test_three_byte_read_write()
600 void test_erase_large_region(const esp_partition_t *part) in test_erase_large_region()
[all …]
Dtest_partitions.c32 const esp_partition_t *part = get_test_data_partition();
72 static bool s_test_nonzero_sha_of_partition(const esp_partition_t *part, bool allow_invalid_image) in s_test_nonzero_sha_of_partition()
101 const esp_partition_t *part = get_test_data_partition();
114 const esp_partition_t *part = esp_partition_get(it);
127 esp_partition_t partition;
Dtest_partition_ext.c16 const esp_partition_t* ext_partition;
20 const esp_partition_t* found = esp_partition_find_first(t, st, label);
29 …const esp_partition_t* nvs_partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTI…
34 esp_partition_t dummy_partition = {};
Dtest_spi_flash.c43 const esp_partition_t *part = get_test_data_partition(); in setup_tests()
236 static uint32_t measure_erase(const esp_partition_t* part) in measure_erase()
248 static uint32_t measure_write(const char* name, const esp_partition_t* part, const uint8_t* data_to… in measure_write()
271 static uint32_t measure_read(const char* name, const esp_partition_t* part, uint8_t* data_read, int… in measure_read()
298 const esp_partition_t *part = get_test_data_partition();
/hal_espressif-3.4.0/components/fatfs/diskio/
Ddiskio_rawflash.c25 const esp_partition_t* ff_raw_handles[FF_VOLUMES];
41 const esp_partition_t* part = ff_raw_handles[pdrv]; in ff_raw_read()
59 const esp_partition_t* part = ff_raw_handles[pdrv]; in ff_raw_ioctl()
78 esp_err_t ff_diskio_register_raw_partition(BYTE pdrv, const esp_partition_t* part_handle) in ff_diskio_register_raw_partition()
97 BYTE ff_diskio_get_pdrv_raw(const esp_partition_t* part_handle) in ff_diskio_get_pdrv_raw()
Ddiskio_rawflash.h30 esp_err_t ff_diskio_register_raw_partition(unsigned char pdrv, const esp_partition_t* part_handle);
31 unsigned char ff_diskio_get_pdrv_raw(const esp_partition_t* part_handle);
/hal_espressif-3.4.0/components/nvs_flash/include/
Dnvs_flash.h95 esp_err_t nvs_flash_init_partition_ptr(const esp_partition_t *partition);
172 esp_err_t nvs_flash_erase_partition_ptr(const esp_partition_t *partition);
228 esp_err_t nvs_flash_generate_keys(const esp_partition_t* partition, nvs_sec_cfg_t* cfg);
250 esp_err_t nvs_flash_read_security_cfg(const esp_partition_t* partition, nvs_sec_cfg_t* cfg);
/hal_espressif-3.4.0/components/nvs_flash/test_nvs_host/
Dspi_flash_emulation.cpp25 esp_err_t esp_partition_erase_range(const esp_partition_t* partition, in esp_partition_erase_range()
51 esp_err_t esp_partition_read(const esp_partition_t* partition, in esp_partition_read()
65 esp_err_t esp_partition_read_raw(const esp_partition_t* partition, in esp_partition_read_raw()
79 esp_err_t esp_partition_write(const esp_partition_t* partition, in esp_partition_write()
93 esp_err_t esp_partition_write_raw(const esp_partition_t* partition, in esp_partition_write_raw()
/hal_espressif-3.4.0/components/wear_levelling/test/
Dtest_wl.c24 const esp_partition_t *partition = get_test_data_partition();
43 const esp_partition_t *test_partition = get_test_data_partition();
44 esp_partition_t fake_partition;
136 const esp_partition_t *partition = get_test_data_partition();
212 const esp_partition_t *partition = get_test_data_partition();
213 esp_partition_t fake_partition;
276 const esp_partition_t *partition = get_test_data_partition();
277 esp_partition_t fake_partition;
/hal_espressif-3.4.0/examples/system/ota/native_ota_example/main/
Dnative_ota_example.c81 const esp_partition_t *update_partition = NULL; in ota_example_task()
85 const esp_partition_t *configured = esp_ota_get_boot_partition(); in ota_example_task()
86 const esp_partition_t *running = esp_ota_get_running_partition(); in ota_example_task()
161 const esp_partition_t* last_invalid_app = esp_ota_get_last_invalid_partition(); in ota_example_task()
277 esp_partition_t partition; in app_main()
297 const esp_partition_t *running = esp_ota_get_running_partition(); in app_main()
/hal_espressif-3.4.0/components/espcoredump/src/
Dcore_dump_flash.c63 static esp_err_t esp_core_dump_partition_and_size_get(const esp_partition_t **partition, uint32_t* …
85 const esp_partition_t *core_part = NULL; in esp_core_dump_flash_init()
351 const esp_partition_t *partition = 0; in esp_core_dump_init()
364 const esp_partition_t *core_part = NULL; in esp_core_dump_image_check()
445 const esp_partition_t *core_part = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, in esp_core_dump_image_erase()
472 static esp_err_t esp_core_dump_partition_and_size_get(const esp_partition_t **partition, uint32_t* … in esp_core_dump_partition_and_size_get()
475 const esp_partition_t *core_part = NULL; in esp_core_dump_partition_and_size_get()
530 const esp_partition_t *core_part = NULL; in esp_core_dump_image_get()
/hal_espressif-3.4.0/components/partition_table/test/
Dtest_partition.c11 …const esp_partition_t *p = esp_partition_find_first(ESP_PARTITION_TYPE_APP, ESP_PARTITION_SUBTYPE_…
19 const esp_partition_t* prev = NULL;
21 const esp_partition_t *p = esp_partition_get(it);
44 const esp_partition_t *p = get_test_data_partition();
/hal_espressif-3.4.0/examples/storage/ext_flash_fatfs/main/
Dext_flash_fatfs_example_main.c32 static const esp_partition_t* example_add_partition(esp_flash_t* ext_flash, const char* partition_l…
138 static const esp_partition_t* example_add_partition(esp_flash_t* ext_flash, const char* partition_l… in example_add_partition()
141 const esp_partition_t* fat_partition; in example_add_partition()
152 const esp_partition_t *part = esp_partition_get(it); in example_list_data_partitions()
/hal_espressif-3.4.0/examples/storage/partition_api/partition_find/main/
Dmain.c51 const esp_partition_t * part = esp_partition_find_first(type, subtype, name); in find_partition()
105 const esp_partition_t *part = esp_partition_get(it); in app_main()
117 const esp_partition_t *part = esp_partition_get(it); in app_main()
/hal_espressif-3.4.0/components/spi_flash/sim/stubs/app_update/
Desp_ota_eps.c12 const esp_partition_t* esp_ota_get_running_partition(void) in esp_ota_get_running_partition()
15 const esp_partition_t* partition = esp_partition_find_first(ESP_PARTITION_TYPE_APP, in esp_ota_get_running_partition()
/hal_espressif-3.4.0/components/wear_levelling/private_include/
DPartition.h17 Partition(const esp_partition_t *partition);
31 const esp_partition_t *partition;
/hal_espressif-3.4.0/components/nvs_flash/src/
Dnvs_partition.hpp42 NVSPartition(const esp_partition_t* partition);
110 const esp_partition_t* mESPPartition;
Dnvs_partition_lookup.cpp14 const esp_partition_t* esp_partition = esp_partition_find_first( in lookup_nvs_partition()
38 const esp_partition_t* esp_partition = esp_partition_find_first( in lookup_nvs_encrypted_partition()
/hal_espressif-3.4.0/components/fatfs/vfs/
Dvfs_fat_spiflash.c40 const esp_partition_t *data_partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, in esp_vfs_fat_spiflash_mount()
142 const esp_partition_t *data_partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, in esp_vfs_fat_rawflash_mount()
191 const esp_partition_t *data_partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, in esp_vfs_fat_rawflash_unmount()

1234