Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/espcoredump/src/
Dcore_dump_flash.c115 if ((COREDUMP_CACHE_SIZE - wr_data->cached_bytes) > data_size) in esp_core_dump_flash_write_data()
118 wr_sz = COREDUMP_CACHE_SIZE - wr_data->cached_bytes; in esp_core_dump_flash_write_data()
124 if (wr_data->cached_bytes == COREDUMP_CACHE_SIZE) { in esp_core_dump_flash_write_data()
128 COREDUMP_CACHE_SIZE); in esp_core_dump_flash_write_data()
135 wr_data->off += COREDUMP_CACHE_SIZE; in esp_core_dump_flash_write_data()
138 … esp_core_dump_checksum_update(wr_data->checksum_ctx, &wr_data->cached_data, COREDUMP_CACHE_SIZE); in esp_core_dump_flash_write_data()
142 memset(wr_data->cached_data, 0, COREDUMP_CACHE_SIZE); in esp_core_dump_flash_write_data()
164 wr_sz = (data_size / COREDUMP_CACHE_SIZE) * COREDUMP_CACHE_SIZE; in esp_core_dump_flash_write_data()
206 const uint32_t modulo = *data_len % COREDUMP_CACHE_SIZE; in esp_core_dump_flash_write_prepare()
210 padding = COREDUMP_CACHE_SIZE - modulo; in esp_core_dump_flash_write_prepare()
[all …]
/hal_espressif-3.6.0/components/espcoredump/include_core_dump/
Desp_core_dump_types.h83 #define COREDUMP_CACHE_SIZE 32 macro
90 #if (COREDUMP_CACHE_SIZE % 16) != 0
98 uint8_t cached_data[COREDUMP_CACHE_SIZE]; /*!< Cache used to write to flash */