/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_compatibility_test/ |
D | esp_ble_compatibility_test_report.md | 18 <td rowspan="2"><font size="1">Phone Brand</td> 19 <td rowspan="2"><font size="2">Model</td> 20 <td rowspan="2"><font size="2">OS Version</td> 21 <td rowspan="2"><font size="2">Test APP & Version</td> 22 <td colspan="9" font size="2" align="center">Test Item</td> 23 <td rowspan="2"><font size="2">Note</td> 26 <td><font size="2">ADV</td> 27 <td><font size="2">Pairing</td> 28 <td><font size="2">Service Discovery</td> 29 <td><font size="2">Read & Encrypt</td> [all …]
|
/hal_espressif-2.7.6/components/bt/common/osi/include/osi/ |
D | allocator.h | 28 void *osi_malloc_func(size_t size); 29 void *osi_calloc_func(size_t size); 35 void osi_mem_dbg_record(void *p, int size, const char *func, int line); 45 #define osi_malloc(size) \ argument 48 p = heap_caps_malloc_prefer(size, 2, \ 51 osi_mem_dbg_record(p, size, __func__, __LINE__); \ 55 #define osi_calloc(size) \ argument 58 p = heap_caps_calloc_prefer(1, size, 2, \ 61 osi_mem_dbg_record(p, size, __func__, __LINE__); \ 67 #define osi_malloc(size) \ argument [all …]
|
/hal_espressif-2.7.6/components/xtensa/include/xtensa/ |
D | core-macros.h | 193 # define _XTHAL_DCACHE_BLOCK_UPGRADE(addr, size, type) \ argument 195 type((const int*)addr, size); \ 200 # define _XTHAL_DCACHE_BLOCK_DOWNGRADE(addr, size, type) \ argument 201 unsigned _s = size; \ 211 # define _XTHAL_DCACHE_BLOCK_DOWNGRADE_MAX(addr, size, type, max) \ argument 213 unsigned _s = size; \ 218 _XTHAL_DCACHE_BLOCK_DOWNGRADE(addr, size, type); \ 221 # define xthal_dcache_block_invalidate(addr, size) do { \ argument 222 _XTHAL_DCACHE_BLOCK_DOWNGRADE(addr, size, XT_DHI_B); \ 224 # define xthal_dcache_block_writeback(addr, size) do { \ argument [all …]
|
/hal_espressif-2.7.6/zephyr/esp32/src/ |
D | heap_caps.c | 15 void *__real_k_malloc(size_t size); 16 void *__real_k_calloc(size_t nmemb, size_t size); 44 static void *z_esp_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_esp_aligned_alloc() argument 56 if (size_add_overflow(size, sizeof(heap_ref), &size)) { in z_esp_aligned_alloc() 61 mem = k_heap_aligned_alloc(heap, __align, size, K_NO_WAIT); in z_esp_aligned_alloc() 75 static void *z_esp_aligned_calloc(struct k_heap *heap, size_t nmemb, size_t size) in z_esp_aligned_calloc() argument 79 if (size_mul_overflow(nmemb, size, &bounds)) { in z_esp_aligned_calloc() 90 static void *z_esp_alloc_internal(size_t align, size_t size) in z_esp_alloc_internal() argument 94 ptr = __real_k_malloc(size); in z_esp_alloc_internal() 98 ptr = z_esp_aligned_alloc(&_internal_heap_1, align, size); in z_esp_alloc_internal() [all …]
|
/hal_espressif-2.7.6/components/app_trace/ |
D | app_trace_util.c | 105 uint8_t *esp_apptrace_rb_produce(esp_apptrace_rb_t *rb, uint32_t size) in esp_apptrace_rb_produce() argument 111 if (rb->wr + size >= rb->size) { in esp_apptrace_rb_produce() 115 if (rb->wr + size == rb->size) { in esp_apptrace_rb_produce() 119 if (size > rb->rd - 1) { in esp_apptrace_rb_produce() 128 if (rb->cur_size < rb->size) { in esp_apptrace_rb_produce() 129 rb->cur_size = rb->size; in esp_apptrace_rb_produce() 132 rb->wr += size; in esp_apptrace_rb_produce() 135 rb->wr += size; in esp_apptrace_rb_produce() 139 if (size > rb->rd - rb->wr - 1) { in esp_apptrace_rb_produce() 142 rb->wr += size; in esp_apptrace_rb_produce() [all …]
|
D | app_trace.c | 362 static uint32_t esp_apptrace_trax_down_buffer_write_nolock(uint8_t *data, uint32_t size); 364 static uint8_t *esp_apptrace_trax_get_buffer(uint32_t size, esp_apptrace_tmo_t *tmo); 367 static uint8_t *esp_apptrace_trax_down_buffer_get(uint32_t *size, esp_apptrace_tmo_t *tmo); 465 static void esp_apptrace_trax_pend_chunk_sz_update(uint16_t size) in esp_apptrace_trax_pend_chunk_sz_update() argument 467 …TRACE_LOGD("Update chunk enter %d/%d w-r-s %d-%d-%d", s_trace_buf.trax.cur_pending_chunk_sz, size, in esp_apptrace_trax_pend_chunk_sz_update() 470 …if ((uint32_t)s_trace_buf.trax.cur_pending_chunk_sz + (uint32_t)size <= ESP_APPTRACE_TRAX_BLOCK_SI… in esp_apptrace_trax_pend_chunk_sz_update() 471 ESP_APPTRACE_LOGD("Update chunk %d/%d", s_trace_buf.trax.cur_pending_chunk_sz, size); in esp_apptrace_trax_pend_chunk_sz_update() 472 s_trace_buf.trax.cur_pending_chunk_sz += size; in esp_apptrace_trax_pend_chunk_sz_update() 478 … ESP_APPTRACE_LOGD("Update new chunk %d/%d", s_trace_buf.trax.cur_pending_chunk_sz, size); in esp_apptrace_trax_pend_chunk_sz_update() 480 s_trace_buf.trax.cur_pending_chunk_sz = size; in esp_apptrace_trax_pend_chunk_sz_update() [all …]
|
/hal_espressif-2.7.6/components/wear_levelling/ |
D | SPI_Flash.cpp | 39 esp_err_t SPI_Flash::erase_range(size_t start_address, size_t size) in erase_range() argument 41 size = (size + SPI_FLASH_SEC_SIZE - 1) / SPI_FLASH_SEC_SIZE; in erase_range() 42 size = size * SPI_FLASH_SEC_SIZE; in erase_range() 43 esp_err_t result = spi_flash_erase_range(start_address, size); in erase_range() 45 …AG, "erase_range - start_address=0x%08x, size=0x%08x, result=0x%08x", start_address, size, result); in erase_range() 47 …AG, "erase_range - start_address=0x%08x, size=0x%08x, result=0x%08x", start_address, size, result); in erase_range() 52 esp_err_t SPI_Flash::write(size_t dest_addr, const void *src, size_t size) in write() argument 54 esp_err_t result = spi_flash_write(dest_addr, src, size); in write() 56 … ESP_LOGV(TAG, "write - dest_addr=0x%08x, size=0x%08x, result=0x%08x", dest_addr, size, result); in write() 58 … ESP_LOGE(TAG, "write - dest_addr=0x%08x, size=0x%08x, result=0x%08x", dest_addr, size, result); in write() [all …]
|
/hal_espressif-2.7.6/components/bt/common/osi/ |
D | allocator.c | 24 extern void *pvPortZalloc(size_t size); 33 int size; member 56 mem_dbg_info[i].size = 0; in osi_mem_dbg_init() 70 void osi_mem_dbg_record(void *p, int size, const char *func, int line) in osi_mem_dbg_record() argument 74 if (!p || size == 0) { in osi_mem_dbg_record() 82 mem_dbg_info[i].size = size; in osi_mem_dbg_record() 94 mem_dbg_current_size += size; in osi_mem_dbg_record() 119 mem_dbg_current_size -= mem_dbg_info[i].size; in osi_mem_dbg_clean() 121 mem_dbg_info[i].size = 0; in osi_mem_dbg_clean() 139 if (mem_dbg_info[i].p || mem_dbg_info[i].size != 0 ) { in osi_mem_dbg_show() [all …]
|
/hal_espressif-2.7.6/components/spi_flash/ |
D | partition.c | 188 item->info.size = it->pos.size; in load_partitions() 232 esp_err_t esp_partition_register_external(esp_flash_t* flash_chip, size_t offset, size_t size, in esp_partition_register_external() argument 243 if (offset + size > flash_chip->size) { in esp_partition_register_external() 258 item->info.size = size; in esp_partition_register_external() 270 bootloader_util_regions_overlap(offset, offset + size, in esp_partition_register_external() 271 … it->info.address, it->info.address + it->info.size)) { in esp_partition_register_external() 323 && partition->size == p->size in esp_partition_verify() 335 size_t src_offset, void* dst, size_t size) in esp_partition_read() argument 338 if (src_offset > partition->size) { in esp_partition_read() 341 if (src_offset + size > partition->size) { in esp_partition_read() [all …]
|
D | flash_ops.c | 57 …_result_t IRAM_ATTR spi_flash_write_encrypted_chip(size_t dest_addr, const void *src, size_t size); 85 #define COUNTER_ADD_BYTES(counter, size) \ argument 87 s_flash_stats.counter.bytes += size; \ 93 #define COUNTER_ADD_BYTES(counter, size) argument 98 static bool is_safe_write_address(size_t addr, size_t size); 155 static __attribute__((unused)) bool is_safe_write_address(size_t addr, size_t size) in is_safe_write_address() argument 157 if (!esp_partition_main_flash_region_safe(addr, size)) { in is_safe_write_address() 165 typedef void *(*malloc_internal_cb_t)(size_t size); 167 void IRAM_ATTR *spi_flash_malloc_internal(size_t size) in spi_flash_malloc_internal() argument 169 return heap_caps_malloc(size, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); in spi_flash_malloc_internal() [all …]
|
/hal_espressif-2.7.6/components/nvs_flash/test_nvs_host/ |
D | spi_flash_emulation.h | 47 mData.resize(mData.size() + SPI_FLASH_SEC_SIZE / 4, 0xffffffff); in SpiFlashEmulator() 48 mUpperSectorBound = mData.size() * 4 / SPI_FLASH_SEC_SIZE; in SpiFlashEmulator() 57 bool read(uint32_t* dest, size_t srcAddr, size_t size) const in read() argument 60 size % 4 != 0 || in read() 61 srcAddr + size > mData.size() * 4) { in read() 65 copy(begin(mData) + srcAddr / 4, begin(mData) + (srcAddr + size) / 4, dest); in read() 68 mReadBytes += size; in read() 69 mTotalTime += getReadOpTime(static_cast<uint32_t>(size)); in read() 73 bool write(size_t dstAddr, const uint32_t* src, size_t size) in write() argument 82 size % 4 != 0 || in write() [all …]
|
D | test_fixtures.hpp | 23 uint32_t size, in PartitionEmulation() argument 25 … : partition_name(partition_name), flash_emu(spi_flash_emulator), address(address), size(size) in PartitionEmulation() 29 assert(size); in PartitionEmulation() 37 esp_err_t read_raw(size_t src_offset, void* dst, size_t size) override in read_raw() argument 39 if (!flash_emu->read(reinterpret_cast<uint32_t*>(dst), src_offset, size)) { in read_raw() 46 esp_err_t read(size_t src_offset, void* dst, size_t size) override in read() argument 48 if (!flash_emu->read(reinterpret_cast<uint32_t*>(dst), src_offset, size)) { in read() 55 esp_err_t write_raw(size_t dst_offset, const void* src, size_t size) override in write_raw() argument 57 if (!flash_emu->write(dst_offset, reinterpret_cast<const uint32_t*>(src), size)) { in write_raw() 64 esp_err_t write(size_t dst_offset, const void* src, size_t size) override in write() argument [all …]
|
/hal_espressif-2.7.6/components/heap/ |
D | heap_caps.c | 90 IRAM_ATTR void *heap_caps_malloc( size_t size, uint32_t caps ) in heap_caps_malloc() argument 94 if (size > HEAP_SIZE_MAX) { in heap_caps_malloc() 97 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_malloc() 108 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_malloc() 119 size = (size + 3) & (~3); // int overflow checked above in heap_caps_malloc() 138 … ret = multi_heap_malloc(heap->heap, size + 4); // int overflow checked above in heap_caps_malloc() 141 … return dram_alloc_to_iram_addr(ret, size + 4); // int overflow checked above in heap_caps_malloc() 145 ret = multi_heap_malloc(heap->heap, size); in heap_caps_malloc() 155 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_malloc() 174 IRAM_ATTR void *heap_caps_malloc_default( size_t size ) in heap_caps_malloc_default() argument [all …]
|
D | multi_heap_poisoning.c | 135 static bool verify_fill_pattern(void *data, size_t size, bool print_errors, bool expect_free, bool … in verify_fill_pattern() argument 147 while (size >= 4) { in verify_fill_pattern() 164 size -= 4; in verify_fill_pattern() 170 for (size_t i = 0; i < size; i++) { in verify_fill_pattern() 188 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc() argument 190 if (!size) { in multi_heap_aligned_alloc() 194 if (size > SIZE_MAX - POISON_OVERHEAD) { in multi_heap_aligned_alloc() 199 poison_head_t *head = multi_heap_aligned_alloc_impl_offs(heap, size + POISON_OVERHEAD, in multi_heap_aligned_alloc() 203 data = poison_allocated_region(head, size); in multi_heap_aligned_alloc() 206 bool ret = verify_fill_pattern(data, size, true, true, true); in multi_heap_aligned_alloc() [all …]
|
D | multi_heap.c | 35 void *multi_heap_malloc(multi_heap_handle_t heap, size_t size) 38 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment) 47 void *multi_heap_realloc(multi_heap_handle_t heap, void *p, size_t size) 53 multi_heap_handle_t multi_heap_register(void *start, size_t size) 91 return ((block->size & 0x01) != 0); in is_free() 97 return (block->size & ~0x03); in block_data_size() 122 multi_heap_handle_t multi_heap_register_impl(void *start_ptr, size_t size) in multi_heap_register_impl() argument 125 if(size < (tlsf_size() + tlsf_block_size_min() + sizeof(heap_t))) { in multi_heap_register_impl() 131 size -= sizeof(heap_t); in multi_heap_register_impl() 133 result->heap_data = tlsf_create_with_pool(start_ptr + sizeof(heap_t), size); in multi_heap_register_impl() [all …]
|
D | heap_tlsf_block_functions.h | 60 #define block_start_offset (offsetof(block_header_t, size) + sizeof(size_t)) 75 return block->size & ~(block_header_free_bit | block_header_prev_free_bit); in block_size() 78 …c inline __attribute__((__always_inline__)) void block_set_size(block_header_t* block, size_t size) in block_set_size() argument 80 const size_t oldsize = block->size; in block_set_size() 81 block->size = size | (oldsize & (block_header_free_bit | block_header_prev_free_bit)); in block_set_size() 91 return tlsf_cast(int, block->size & block_header_free_bit); in block_is_free() 96 block->size |= block_header_free_bit; in block_set_free() 101 block->size &= ~block_header_free_bit; in block_set_used() 106 return tlsf_cast(int, block->size & block_header_prev_free_bit); in block_is_prev_free() 111 block->size |= block_header_prev_free_bit; in block_set_prev_free() [all …]
|
D | heap_tlsf.c | 123 static inline __attribute__((__always_inline__)) size_t adjust_request_size(size_t size, size_t ali… in adjust_request_size() argument 126 if (size) in adjust_request_size() 128 const size_t aligned = align_up(size, align); in adjust_request_size() 144 static inline __attribute__((__always_inline__)) void mapping_insert(size_t size, int* fli, int* sl… in mapping_insert() argument 147 if (size < SMALL_BLOCK_SIZE) in mapping_insert() 151 sl = tlsf_cast(int, size) >> 2; in mapping_insert() 155 fl = tlsf_fls(size); in mapping_insert() 156 sl = tlsf_cast(int, size >> (fl - SL_INDEX_COUNT_LOG2)) ^ (1 << SL_INDEX_COUNT_LOG2); in mapping_insert() 164 static inline __attribute__((__always_inline__)) void mapping_search(size_t size, int* fli, int* sl… in mapping_search() argument 166 if (size >= SMALL_BLOCK_SIZE) in mapping_search() [all …]
|
/hal_espressif-2.7.6/components/nvs_flash/src/ |
D | nvs_partition.cpp | 34 esp_err_t NVSPartition::read_raw(size_t src_offset, void* dst, size_t size) in read_raw() argument 36 return esp_partition_read_raw(mESPPartition, src_offset, dst, size); in read_raw() 39 esp_err_t NVSPartition::read(size_t src_offset, void* dst, size_t size) in read() argument 41 if (size % ESP_ENCRYPT_BLOCK_SIZE != 0) { in read() 45 return esp_partition_read(mESPPartition, src_offset, dst, size); in read() 48 esp_err_t NVSPartition::write_raw(size_t dst_offset, const void* src, size_t size) in write_raw() argument 50 return esp_partition_write_raw(mESPPartition, dst_offset, src, size); in write_raw() 53 esp_err_t NVSPartition::write(size_t dst_offset, const void* src, size_t size) in write() argument 55 if (size % ESP_ENCRYPT_BLOCK_SIZE != 0) { in write() 59 return esp_partition_write(mESPPartition, dst_offset, src, size); in write() [all …]
|
/hal_espressif-2.7.6/components/newlib/ |
D | heap.c | 26 extern void *heap_caps_malloc_default( size_t size ); 27 extern void *heap_caps_realloc_default( void *ptr, size_t size ); 29 void* malloc(size_t size) in malloc() argument 31 return heap_caps_malloc_default(size); in malloc() 34 void* calloc(size_t n, size_t size) in calloc() argument 36 return _calloc_r(_REENT, n, size); in calloc() 39 void* realloc(void* ptr, size_t size) in realloc() argument 41 return heap_caps_realloc_default(ptr, size); in realloc() 49 void* _malloc_r(struct _reent *r, size_t size) in _malloc_r() argument 51 return heap_caps_malloc_default(size); in _malloc_r() [all …]
|
/hal_espressif-2.7.6/components/heap/include/ |
D | heap_trace.inc | 82 void *__real_heap_caps_malloc(size_t size, uint32_t caps); 83 void *__real_heap_caps_malloc_default( size_t size ); 84 void *__real_heap_caps_realloc_default( void *ptr, size_t size ); 87 static IRAM_ATTR __attribute__((noinline)) void *trace_malloc(size_t size, uint32_t caps, trace_mal… 93 p = __real_heap_caps_malloc(size, caps); 95 p = __real_heap_caps_malloc_default(size); 101 .size = size, 120 void * __real_heap_caps_realloc(void *p, size_t size, uint32_t caps); 123 static IRAM_ATTR __attribute__((noinline)) void *trace_realloc(void *p, size_t size, uint32_t caps,… 134 r = __real_heap_caps_realloc(p, size, caps); [all …]
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/ |
D | mesh_common.c | 24 IRAM_ATTR void *bt_mesh_malloc(size_t size) in bt_mesh_malloc() argument 27 return heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_mesh_malloc() 29 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT, MALLOC_CAP_INTERNAL|MAL… in bt_mesh_malloc() 31 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_INTER… in bt_mesh_malloc() 33 return malloc(size); in bt_mesh_malloc() 37 IRAM_ATTR void *bt_mesh_calloc(size_t size) in bt_mesh_calloc() argument 40 return heap_caps_calloc(1, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_mesh_calloc() 42 …return heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT, MALLOC_CAP_INTERNAL|… in bt_mesh_calloc() 44 …return heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_IN… in bt_mesh_calloc() 46 return calloc(1, size); in bt_mesh_calloc() [all …]
|
/hal_espressif-2.7.6/components/spi_flash/sim/ |
D | flash_mock.cpp | 18 int size = 0; in convert_chip_size_string() local 20 size = 0x100000; in convert_chip_size_string() 23 size = 0x200000; in convert_chip_size_string() 26 size = 0x400000; in convert_chip_size_string() 29 size = 0x800000; in convert_chip_size_string() 32 size = 0x1000000; in convert_chip_size_string() 34 size = 0; in convert_chip_size_string() 37 return size; in convert_chip_size_string() 42 size_t size = convert_chip_size_string(chip_size); in _spi_flash_init() local 44 assert(size != 0); in _spi_flash_init() [all …]
|
/hal_espressif-2.7.6/components/bt/host/nimble/port/src/ |
D | esp_nimble_mem.c | 27 IRAM_ATTR void *nimble_platform_mem_malloc(size_t size) in nimble_platform_mem_malloc() argument 30 return heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in nimble_platform_mem_malloc() 32 return heap_caps_malloc(size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); in nimble_platform_mem_malloc() 34 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_INTER… in nimble_platform_mem_malloc() 36 return malloc(size); in nimble_platform_mem_malloc() 40 IRAM_ATTR void *nimble_platform_mem_calloc(size_t n, size_t size) in nimble_platform_mem_calloc() argument 43 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in nimble_platform_mem_calloc() 45 return heap_caps_calloc(n, size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); in nimble_platform_mem_calloc() 47 …return heap_caps_calloc_prefer(n, size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_IN… in nimble_platform_mem_calloc() 49 return calloc(n, size); in nimble_platform_mem_calloc()
|
/hal_espressif-2.7.6/components/mbedtls/port/ |
D | esp_mem.c | 22 IRAM_ATTR void *esp_mbedtls_mem_calloc(size_t n, size_t size) argument 25 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); 27 return heap_caps_calloc(n, size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); 30 …if ((n*size) >= CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN || (n*size) >= CONFIG_MBEDTLS_SSL_OUT_CONTENT_LE… 32 if ((n*size) >= CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN) { 34 …return heap_caps_calloc_prefer(n, size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_IN… 36 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); 40 return calloc(n, size);
|
/hal_espressif-2.7.6/components/bootloader_support/src/ |
D | bootloader_flash.c | 55 const void *bootloader_mmap(uint32_t src_addr, uint32_t size) in bootloader_mmap() argument 63 size += (src_addr - src_page); in bootloader_mmap() 64 esp_err_t err = spi_flash_mmap(src_page, size, SPI_FLASH_MMAP_DATA, &result, &map); in bootloader_mmap() 80 esp_err_t bootloader_flash_read(size_t src, void *dest, size_t size, bool allow_decrypt) in bootloader_flash_read() argument 83 return spi_flash_read_encrypted(src, dest, size); in bootloader_flash_read() 85 return spi_flash_read(src, dest, size); in bootloader_flash_read() 89 esp_err_t bootloader_flash_write(size_t dest_addr, void *src, size_t size, bool write_encrypted) in bootloader_flash_write() argument 93 return spi_flash_write_encrypted(dest_addr, src, size); in bootloader_flash_write() 95 return esp_rom_spiflash_write_encrypted(dest_addr, src, size); in bootloader_flash_write() 98 return spi_flash_write(dest_addr, src, size); in bootloader_flash_write() [all …]
|