Home
last modified time | relevance | path

Searched refs:update_partition (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.4.0/components/app_update/test/
Dtest_switch_ota.c107 const esp_partition_t *update_partition = esp_ota_get_next_update_partition(NULL); in get_next_update_partition() local
108 TEST_ASSERT_NOT_EQUAL(NULL, update_partition); in get_next_update_partition()
109 …TAG, "Writing to partition subtype %d at offset 0x%x", update_partition->subtype, update_partition in get_next_update_partition()
110 return update_partition; in get_next_update_partition()
560 const esp_partition_t* update_partition = esp_ota_get_next_update_partition(NULL); in app_update() local
561 TEST_ASSERT_NOT_NULL(update_partition); in app_update()
563 TEST_ESP_OK(esp_ota_begin(update_partition, OTA_SIZE_UNKNOWN, &update_handle)); in app_update()
566 TEST_ESP_OK(esp_ota_set_boot_partition(update_partition)); in app_update()
567 return update_partition; in app_update()
577 const esp_partition_t* update_partition = NULL; in test_rollback1() local
[all …]
/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() local
134 update_partition = esp_ota_get_next_update_partition(NULL); in ota_example_task()
135 assert(update_partition != NULL); in ota_example_task()
137 update_partition->subtype, update_partition->address); in ota_example_task()
187 … err = esp_ota_begin(update_partition, OTA_WITH_SEQUENTIAL_WRITES, &update_handle); in ota_example_task()
244 err = esp_ota_set_boot_partition(update_partition); in ota_example_task()
/hal_espressif-3.4.0/components/esp_https_ota/src/
Desp_https_ota.c30 const esp_partition_t *update_partition; member
256 https_ota_handle->update_partition = NULL; in esp_https_ota_begin()
258 https_ota_handle->update_partition = esp_ota_get_next_update_partition(NULL); in esp_https_ota_begin()
259 if (https_ota_handle->update_partition == NULL) { in esp_https_ota_begin()
265 https_ota_handle->update_partition->subtype, https_ota_handle->update_partition->address); in esp_https_ota_begin()
369 err = esp_ota_begin(handle->update_partition, erase_size, &handle->update_handle); in esp_https_ota_perform()
505 esp_err_t err = esp_ota_set_boot_partition(handle->update_partition); in esp_https_ota_finish()
/hal_espressif-3.4.0/docs/zh_CN/api-reference/system/
Dota.rst158 esp_ota_begin(update_partition, OTA_SIZE_UNKNOWN, &update_handle);
/hal_espressif-3.4.0/docs/en/api-reference/system/
Dota.rst158 esp_ota_begin(update_partition, OTA_SIZE_UNKNOWN, &update_handle);