Home
last modified time | relevance | path

Searched refs:esp_image_segment_header_t (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-2.7.6/components/bootloader_support/src/
Desp_image_format.c81 static esp_err_t process_segment(int index, uint32_t flash_addr, esp_image_segment_header_t *header…
90 static esp_err_t verify_segment_header(int index, const esp_image_segment_header_t *segment, uint32…
181 esp_image_segment_header_t *header = &data->segments[i];
188 next_addr += sizeof(esp_image_segment_header_t);
379 esp_image_segment_header_t *header = &metadata->segments[i];
384 next_addr += sizeof(esp_image_segment_header_t);
558 static esp_err_t process_segment(int index, uint32_t flash_addr, esp_image_segment_header_t *header…
563 err = bootloader_flash_read(flash_addr, header, sizeof(esp_image_segment_header_t), true);
569 bootloader_sha256_data(sha_handle, header, sizeof(esp_image_segment_header_t));
574 uint32_t data_addr = flash_addr + sizeof(esp_image_segment_header_t);
[all …]
Dbootloader_common_loader.c124 … const uint32_t app_desc_offset = sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t); in bootloader_common_get_partition_description()
Dbootloader_utility.c655 const esp_image_segment_header_t *header = &data->segments[i];
/hal_espressif-2.7.6/docs/en/api-reference/system/
Dapp_image_format.rst7 2. The :cpp:type:`esp_image_segment_header_t` structure describes each segment, its length, and its…
9 … Segment = sizeof(:cpp:type:`esp_image_header_t`) + sizeof(:cpp:type:`esp_image_segment_header_t`).
10 …ment = offset for 0 Segment + length of 0 Segment + sizeof(:cpp:type:`esp_image_segment_header_t`).
11 …ment = offset for 1 Segment + length of 1 Segment + sizeof(:cpp:type:`esp_image_segment_header_t`).
90 …t = sizeof(:cpp:type:`esp_image_header_t`) + sizeof(:cpp:type:`esp_image_segment_header_t`). As so…
102 … is sizeof(:cpp:type:`esp_image_header_t`) + sizeof(:cpp:type:`esp_image_segment_header_t`) + size…
Dsystem.rst161 … located after :cpp:class:`esp_image_header_t` and :cpp:class:`esp_image_segment_header_t` structu…
Dota.rst166 …if (data_read > sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(esp_app_d…
/hal_espressif-2.7.6/components/bootloader_support/include/
Desp_app_format.h105 } esp_image_segment_header_t; typedef
Desp_image_format.h39 esp_image_segment_header_t segments[ESP_IMAGE_MAX_SEGMENTS]; /* Per-segment header data */
/hal_espressif-2.7.6/examples/system/ota/native_ota_example/main/
Dnative_ota_example.c151 …if (data_read > sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(esp_app_d… in ota_example_task()
153 …_app_info, &ota_write_data[sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t)], sizeo… in ota_example_task()
/hal_espressif-2.7.6/components/esp_https_ota/src/
Desp_https_ota.c24 #define IMAGE_HEADER_SIZE sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(…
266 …, &handle->ota_upgrade_buf[sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t)], sizeo… in esp_https_ota_get_img_desc()
/hal_espressif-2.7.6/docs/zh_CN/api-reference/system/
Dota.rst148 …if (data_read > sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(esp_app_d…
/hal_espressif-2.7.6/components/app_update/
Desp_ota_ops.c637 …_partition_read(partition, sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t), app_de… in esp_ota_get_partition_description()