Home
last modified time | relevance | path

Searched refs:core_part (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/espcoredump/src/
Dcore_dump_flash.c85 const esp_partition_t *core_part = NULL; in esp_core_dump_flash_init() local
89core_part = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_DATA_COREDUMP,… in esp_core_dump_flash_init()
90 if (!core_part) { in esp_core_dump_flash_init()
94 …_COREDUMP_LOGI("Found partition '%s' @ %x %d bytes", core_part->label, core_part->address, core_pa… in esp_core_dump_flash_init()
95 s_core_flash_config.partition.start = core_part->address; in esp_core_dump_flash_init()
96 s_core_flash_config.partition.size = core_part->size; in esp_core_dump_flash_init()
97 s_core_flash_config.partition.encrypted = core_part->encrypted; in esp_core_dump_flash_init()
364 const esp_partition_t *core_part = NULL; in esp_core_dump_image_check() local
379 err = esp_core_dump_partition_and_size_get(&core_part, &total_size); in esp_core_dump_image_check()
397 err = esp_partition_read(core_part, offset, wr_data.cached_data, toread); in esp_core_dump_image_check()
[all …]
Dcore_dump_elf.c660 const esp_partition_t *core_part = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, in elf_core_dump_image_mmap() local
663 if (!core_part) { in elf_core_dump_image_mmap()
667 if (core_part->size < sizeof(uint32_t)) { in elf_core_dump_image_mmap()
674 if (esp_flash_encryption_enabled() && !core_part->encrypted) { in elf_core_dump_image_mmap()
679 esp_err_t ret = esp_partition_read(core_part, 0, &out_size, sizeof(uint32_t)); in elf_core_dump_image_mmap()
685 return esp_partition_mmap(core_part, 0, out_size, SPI_FLASH_MMAP_DATA, in elf_core_dump_image_mmap()