/hal_espressif-latest/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); 34 #define osi_malloc_base(size) heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLO… argument 35 #define osi_calloc_base(size) heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_DEFAULT|MA… argument 37 #define osi_malloc_base(size) malloc((size)) argument 38 #define osi_calloc_base(size) calloc(1, (size)) argument 44 void osi_mem_dbg_record(void *p, int size, const char *func, int line); 53 #define osi_malloc(size) \ argument 56 p = osi_malloc_base(size); \ 57 osi_mem_dbg_record(p, size, __func__, __LINE__); \ [all …]
|
/hal_espressif-latest/zephyr/port/heap/ |
D | heap_caps_zephyr.c | 52 static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base() argument 55 void *ptr = k_malloc(size); in heap_caps_malloc_base() 57 if (!ptr && size > 0) { in heap_caps_malloc_base() 58 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_malloc_base() 64 void *heap_caps_malloc( size_t size, uint32_t caps) in heap_caps_malloc() argument 66 return heap_caps_malloc_base(size, caps); in heap_caps_malloc() 75 void *heap_caps_malloc_default( size_t size ) in heap_caps_malloc_default() argument 77 return heap_caps_malloc_base(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_default() 80 void *heap_caps_malloc_prefer( size_t size, size_t num, ... ) in heap_caps_malloc_prefer() argument 82 return heap_caps_malloc(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_prefer() [all …]
|
/hal_espressif-latest/components/heap/ |
D | heap_caps_linux.c | 45 static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base() argument 48 void *ptr = malloc(size); in heap_caps_malloc_base() 50 if (!ptr && size > 0) { in heap_caps_malloc_base() 51 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_malloc_base() 57 void *heap_caps_malloc( size_t size, uint32_t caps) in heap_caps_malloc() argument 59 return heap_caps_malloc_base(size, caps); in heap_caps_malloc() 70 void *heap_caps_malloc_default( size_t size ) in heap_caps_malloc_default() argument 72 return heap_caps_malloc_base(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_default() 75 void *heap_caps_malloc_prefer( size_t size, size_t num, ... ) in heap_caps_malloc_prefer() argument 77 return heap_caps_malloc(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_prefer() [all …]
|
D | heap_caps.c | 30 static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps ); 31 static void *heap_caps_calloc_base( size_t n, size_t size, uint32_t caps ); 32 static void *heap_caps_malloc_base( size_t size, uint32_t caps ); 53 HEAP_IRAM_ATTR static void fmt_abort_str(char dest[48], size_t size, uint32_t caps) in fmt_abort_str() argument 57 hex_to_str(sSize, size); in fmt_abort_str() 121 HEAP_IRAM_ATTR static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base() argument 125 if (size == 0 || size > HEAP_SIZE_MAX ) { in heap_caps_malloc_base() 146 size = (size + 3) & (~3); // int overflow checked above in heap_caps_malloc_base() 167 … ret = multi_heap_malloc(heap->heap, size + 4); // int overflow checked above in heap_caps_malloc_base() 170 … uint32_t *iptr = dram_alloc_to_iram_addr(ret, size + 4); // int overflow checked above in heap_caps_malloc_base() [all …]
|
D | multi_heap_poisoning.c | 140 static bool verify_fill_pattern(void *data, size_t size, const bool print_errors, const bool expect… in verify_fill_pattern() argument 152 while (size >= 4) { in verify_fill_pattern() 169 size -= 4; in verify_fill_pattern() 175 for (size_t i = 0; i < size; i++) { in verify_fill_pattern() 203 void block_absorb_post_hook(void *start, size_t size, bool is_free) in block_absorb_post_hook() argument 205 multi_heap_internal_poison_fill_region(start, size, is_free); in block_absorb_post_hook() 209 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc() argument 211 if (!size) { in multi_heap_aligned_alloc() 215 if (size > SIZE_MAX - POISON_OVERHEAD) { in multi_heap_aligned_alloc() 220 poison_head_t *head = multi_heap_aligned_alloc_impl_offs(heap, size + POISON_OVERHEAD, in multi_heap_aligned_alloc() [all …]
|
D | multi_heap.c | 31 void *multi_heap_malloc(multi_heap_handle_t heap, size_t size) 34 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment) 43 void *multi_heap_realloc(multi_heap_handle_t heap, void *p, size_t size) 49 multi_heap_handle_t multi_heap_register(void *start, size_t size) 129 multi_heap_handle_t multi_heap_register_impl(void *start_ptr, size_t size) in multi_heap_register_impl() argument 132 if(size < (sizeof(heap_t))) { in multi_heap_register_impl() 138 size -= sizeof(heap_t); in multi_heap_register_impl() 143 result->heap_data = tlsf_create_with_pool(start_ptr + sizeof(heap_t), size, max_bytes); in multi_heap_register_impl() 149 result->free_bytes = size - tlsf_size(result->heap_data); in multi_heap_register_impl() 150 result->pool_size = size; in multi_heap_register_impl() [all …]
|
D | multi_heap_internal.h | 43 void *multi_heap_malloc_impl(multi_heap_handle_t heap, size_t size); 46 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment); 49 void *multi_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, s… 52 void *multi_heap_realloc_impl(multi_heap_handle_t heap, void *p, size_t size); 53 multi_heap_handle_t multi_heap_register_impl(void *start, size_t size); 63 bool multi_heap_internal_check_block_poisoning(void *start, size_t size, bool is_free, bool print_e… 68 void multi_heap_internal_poison_fill_region(void *start, size_t size, bool is_free);
|
/hal_espressif-latest/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 …]
|
D | xtruntime-frames.h | 37 …define STRUCT_FIELD(ctype,size,pre,name) .set pre##name, XT_STRUCT_OFFSET; .set XT_STR… argument 38 #define STRUCT_AFIELD(ctype,size,pre,name,n) .set pre##name, XT_STRUCT_OFFSET;\ argument 39 .set XT_STRUCT_OFFSET, pre##name + (size)*(n); 40 #define STRUCT_AFIELD_A(ctype,size,align,pre,name,n) .set pre##name, XT_STRUCT_OFFSET\ argument 42 .set XT_STRUCT_OFFSET, pre##name + (size)*(n); 46 #define STRUCT_FIELD(ctype,size,pre,name) pre##name: .space size argument 47 #define STRUCT_AFIELD(ctype,size,pre,name,n) pre##name: .if n ; .space (size)*(n) ; .endif argument 48 #define STRUCT_AFIELD_A(ctype,size,align,pre,name,n) .balign align ; pre##name: .if n ; .space (siz… argument 54 #define STRUCT_FIELD(ctype,size,pre,name) ctype name; argument 55 #define STRUCT_AFIELD(ctype,size,pre,name,n) ctype name[n]; argument [all …]
|
/hal_espressif-latest/components/bt/porting/mem/ |
D | bt_osi_mem.c | 14 IRAM_ATTR void *bt_osi_mem_malloc(size_t size) in bt_osi_mem_malloc() argument 18 mem = heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_osi_mem_malloc() 20 mem = heap_caps_malloc(size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); in bt_osi_mem_malloc() 22 …mem = heap_caps_malloc_prefer(size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_INTER… in bt_osi_mem_malloc() 24 mem = malloc(size); in bt_osi_mem_malloc() 29 ESP_EARLY_LOGI("ESP_LOG_INFO","malloc failed (size %zu)",size); in bt_osi_mem_malloc() 37 IRAM_ATTR void *bt_osi_mem_calloc(size_t n, size_t size) in bt_osi_mem_calloc() argument 40 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_osi_mem_calloc() 42 return heap_caps_calloc(n, size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); in bt_osi_mem_calloc() 44 …return heap_caps_calloc_prefer(n, size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_IN… in bt_osi_mem_calloc() [all …]
|
/hal_espressif-latest/components/newlib/ |
D | heap.c | 19 extern void *heap_caps_malloc_default( size_t size ); 20 extern void *heap_caps_realloc_default( void *ptr, size_t size ); 22 void* malloc(size_t size) in malloc() argument 24 return heap_caps_malloc_default(size); in malloc() 27 void* calloc(size_t n, size_t size) in calloc() argument 29 return _calloc_r(_REENT, n, size); in calloc() 32 void* realloc(void* ptr, size_t size) in realloc() argument 34 return heap_caps_realloc_default(ptr, size); in realloc() 42 void* _malloc_r(struct _reent *r, size_t size) in _malloc_r() argument 44 return heap_caps_malloc_default(size); in _malloc_r() [all …]
|
/hal_espressif-latest/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-latest/components/bt/esp_ble_mesh/mesh_common/ |
D | mesh_common.c | 16 IRAM_ATTR void *bt_mesh_malloc(size_t size) in bt_mesh_malloc() argument 19 return heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_mesh_malloc() 21 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT, MALLOC_CAP_INTERNAL|MAL… in bt_mesh_malloc() 23 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_INTER… in bt_mesh_malloc() 25 return malloc(size); in bt_mesh_malloc() 29 IRAM_ATTR void *bt_mesh_calloc(size_t size) in bt_mesh_calloc() argument 32 return heap_caps_calloc(1, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_mesh_calloc() 34 …return heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT, MALLOC_CAP_INTERNAL|… in bt_mesh_calloc() 36 …return heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_IN… in bt_mesh_calloc() 38 return calloc(1, size); in bt_mesh_calloc() [all …]
|
/hal_espressif-latest/components/heap/include/ |
D | heap_trace.inc | 84 void *__real_heap_caps_malloc(size_t size, uint32_t caps); 85 void *__real_heap_caps_malloc_default( size_t size ); 86 void *__real_heap_caps_realloc_default( void *ptr, size_t size ); 89 static HEAP_IRAM_ATTR __attribute__((noinline)) void *trace_malloc(size_t size, uint32_t caps, trac… 95 p = __real_heap_caps_malloc(size, caps); 97 p = __real_heap_caps_malloc_default(size); 103 .size = size, 122 void * __real_heap_caps_realloc(void *p, size_t size, uint32_t caps); 125 static HEAP_IRAM_ATTR __attribute__((noinline)) void *trace_realloc(void *p, size_t size, uint32_t … 136 r = __real_heap_caps_realloc(p, size, caps); [all …]
|
D | esp_heap_caps.h | 54 typedef void (*esp_alloc_failed_hook_t) (size_t size, uint32_t caps, const char * function_name); 72 __attribute__((weak)) HEAP_IRAM_ATTR void esp_heap_trace_alloc_hook(void* ptr, size_t size, uint32_… 94 void *heap_caps_malloc(size_t size, uint32_t caps); 125 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps); 141 void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps); 164 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps); 181 void *heap_caps_calloc(size_t n, size_t size, uint32_t caps); 359 void *heap_caps_malloc_prefer( size_t size, size_t num, ... ); 370 void *heap_caps_realloc_prefer( void *ptr, size_t size, size_t num, ... ); 381 void *heap_caps_calloc_prefer( size_t n, size_t size, size_t num, ... );
|
/hal_espressif-latest/components/mbedtls/port/ |
D | esp_mem.c | 14 IRAM_ATTR void *esp_mbedtls_mem_calloc(size_t n, size_t size) argument 17 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); 19 return heap_caps_calloc(n, size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); 22 …if ((n*size) >= CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN || (n*size) >= CONFIG_MBEDTLS_SSL_OUT_CONTENT_LE… 24 if ((n*size) >= CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN) { 26 …return heap_caps_calloc_prefer(n, size, 2, MALLOC_CAP_INTERNAL|MALLOC_CAP_IRAM_8BIT, MALLOC_CAP_IN… 28 return heap_caps_calloc(n, size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); 32 return calloc(n, size);
|
/hal_espressif-latest/components/spi_flash/sim/ |
D | flash_mock.cpp | 17 int size = 0; in convert_chip_size_string() local 19 size = 0x100000; in convert_chip_size_string() 22 size = 0x200000; in convert_chip_size_string() 25 size = 0x400000; in convert_chip_size_string() 28 size = 0x800000; in convert_chip_size_string() 31 size = 0x1000000; in convert_chip_size_string() 33 size = 0; in convert_chip_size_string() 36 return size; in convert_chip_size_string() 41 size_t size = convert_chip_size_string(chip_size); in _spi_flash_init() local 43 assert(size != 0); in _spi_flash_init() [all …]
|
/hal_espressif-latest/components/esp_rom/patches/ |
D | esp_rom_cache_esp32s2_esp32s3.c | 96 extern int rom_Cache_WriteBack_Addr(uint32_t addr, uint32_t size); 97 int Cache_WriteBack_Addr(uint32_t addr, uint32_t size) in Cache_WriteBack_Addr() argument 110 end = addr + size; in Cache_WriteBack_Addr() 113 if (size == 0) { in Cache_WriteBack_Addr() 121 size = (size < start_len) ? 0 : (size - start_len); in Cache_WriteBack_Addr() 128 if (size == 0) { in Cache_WriteBack_Addr() 136 end_len = addr + size - end; in Cache_WriteBack_Addr() 137 size = (size - end_len); in Cache_WriteBack_Addr() 144 if (size == 0) { in Cache_WriteBack_Addr() 151 ret = rom_Cache_WriteBack_Addr(addr, size); in Cache_WriteBack_Addr() [all …]
|
/hal_espressif-latest/components/bootloader_support/bootloader_flash/include/ |
D | bootloader_flash_priv.h | 35 #define GET_REQUIRED_MMU_PAGES(size, v_start) ((size + (v_start - (v_start & MMU_FLASH_MASK)) + … argument 90 const void *bootloader_mmap(uint32_t src_addr, uint32_t size); 93 const void *esp_rom_flash_mmap(uint32_t src_addr, uint32_t size); 120 esp_err_t bootloader_flash_read(size_t src_addr, void *dest, size_t size, bool allow_decrypt); 123 esp_err_t esp_rom_flash_read(size_t src_addr, void *dest, size_t size, bool allow_decrypt); 140 esp_err_t bootloader_flash_write(size_t dest_addr, void *src, size_t size, bool write_encrypted); 143 esp_err_t esp_rom_flash_write(size_t dest_addr, void *src, size_t size, bool write_encrypted); 165 esp_err_t bootloader_flash_erase_range(uint32_t start_addr, uint32_t size); 168 esp_err_t esp_rom_flash_erase_range(uint32_t start_addr, uint32_t size);
|
/hal_espressif-latest/components/esp_psram/ |
D | esp_psram.c | 69 size_t size; //in bytes member 104 static void IRAM_ATTR s_mapping(int v_start, int size) in s_mapping() argument 107 cache_sram_mmu_set(0, 0, v_start, 0, 32, (size / 1024 / 32)); in s_mapping() 111 cache_sram_mmu_set(1, 0, v_start, 0, 32, (size / 1024 / 32)); in s_mapping() 221 s_psram_ctx.mapped_regions[PSRAM_MEM_8BIT_ALIGNED].size = size_to_map; in esp_psram_init() 224 s_psram_ctx.regions_to_heap[PSRAM_MEM_8BIT_ALIGNED].size = size_to_map; in esp_psram_init() 227 … starting from: 0x%x", s_psram_ctx.mapped_regions[PSRAM_MEM_8BIT_ALIGNED].size, v_start_8bit_align… in esp_psram_init() 256 s_psram_ctx.mapped_regions[PSRAM_MEM_32BIT_ALIGNED].size = size_to_map; in esp_psram_init() 259 s_psram_ctx.regions_to_heap[PSRAM_MEM_32BIT_ALIGNED].size = size_to_map; in esp_psram_init() 262 …starting from: 0x%x", s_psram_ctx.mapped_regions[PSRAM_MEM_32BIT_ALIGNED].size, v_start_32bit_alig… in esp_psram_init() [all …]
|
/hal_espressif-latest/zephyr/esp32s2/src/ |
D | soc_flash_init.c | 185 volatile uint32_t size; in update_flash_config() local 189 size = 1; in update_flash_config() 192 size = 2; in update_flash_config() 195 size = 4; in update_flash_config() 198 size = 8; in update_flash_config() 201 size = 16; in update_flash_config() 204 size = 32; in update_flash_config() 207 size = 64; in update_flash_config() 210 size = 128; in update_flash_config() 213 size = 2; in update_flash_config() [all …]
|
/hal_espressif-latest/components/bootloader_support/bootloader_flash/src/ |
D | bootloader_flash_config_esp32s2.c | 38 void bootloader_flash_update_size(uint32_t size) in bootloader_flash_update_size() argument 40 g_rom_flashchip.chip_size = size; in bootloader_flash_update_size() 124 uint32_t size; in update_flash_config() local 127 size = 1; in update_flash_config() 130 size = 2; in update_flash_config() 133 size = 4; in update_flash_config() 136 size = 8; in update_flash_config() 139 size = 16; in update_flash_config() 142 size = 32; in update_flash_config() 145 size = 64; in update_flash_config() [all …]
|
D | bootloader_flash.c | 62 const void *bootloader_mmap(uint32_t src_addr, uint32_t size) in bootloader_mmap() argument 70 size += (src_addr - src_page); in bootloader_mmap() 71 esp_err_t err = spi_flash_mmap(src_page, size, SPI_FLASH_MMAP_DATA, &result, &map); in bootloader_mmap() 87 esp_err_t bootloader_flash_read(size_t src, void *dest, size_t size, bool allow_decrypt) in bootloader_flash_read() argument 90 return esp_flash_read_encrypted(NULL, src, dest, size); in bootloader_flash_read() 92 return esp_flash_read(NULL, dest, src, size); in bootloader_flash_read() 96 esp_err_t bootloader_flash_write(size_t dest_addr, void *src, size_t size, bool write_encrypted) in bootloader_flash_write() argument 99 return esp_flash_write_encrypted(NULL, dest_addr, src, size); in bootloader_flash_write() 101 return esp_flash_write(NULL, src, dest_addr, size); in bootloader_flash_write() 111 esp_err_t bootloader_flash_erase_range(uint32_t start_addr, uint32_t size) in bootloader_flash_erase_range() argument [all …]
|
/hal_espressif-latest/components/hal/ |
D | cache_hal.c | 168 void cache_hal_invalidate_addr(uint32_t vaddr, uint32_t size) in cache_hal_invalidate_addr() argument 171 …HAL_ASSERT(mmu_hal_check_valid_ext_vaddr_region(0, vaddr, size, MMU_VADDR_DATA | MMU_VADDR_INSTRUC… in cache_hal_invalidate_addr() 172 Cache_Invalidate_Addr(vaddr, size); in cache_hal_invalidate_addr() 176 void cache_hal_writeback_addr(uint32_t vaddr, uint32_t size) in cache_hal_writeback_addr() argument 178 HAL_ASSERT(mmu_hal_check_valid_ext_vaddr_region(0, vaddr, size, MMU_VADDR_DATA)); in cache_hal_writeback_addr() 179 Cache_WriteBack_Addr(vaddr, size); in cache_hal_writeback_addr() 223 uint32_t size = 0; in cache_hal_get_cache_line_size() 225 size = Cache_Get_DCache_Line_Size(); in cache_hal_get_cache_line_size() 227 size = Cache_Get_ICache_Line_Size(); in cache_hal_get_cache_line_size() 231 return size; in cache_hal_get_cache_line_size()
|
/hal_espressif-latest/zephyr/port/bootloader/ |
D | bootloader_flash.c | 59 const void *bootloader_mmap(uint32_t src_addr, uint32_t size) in bootloader_mmap() argument 67 size += (src_addr - src_page); in bootloader_mmap() 68 esp_err_t err = spi_flash_mmap(src_page, size, SPI_FLASH_MMAP_DATA, &result, &map); in bootloader_mmap() 84 esp_err_t bootloader_flash_read(size_t src, void *dest, size_t size, bool allow_decrypt) in bootloader_flash_read() argument 87 return esp_flash_read_encrypted(NULL, src, dest, size); in bootloader_flash_read() 89 return esp_flash_read(NULL, dest, src, size); in bootloader_flash_read() 93 esp_err_t bootloader_flash_write(size_t dest_addr, void *src, size_t size, bool write_encrypted) in bootloader_flash_write() argument 96 return esp_flash_write_encrypted(NULL, dest_addr, src, size); in bootloader_flash_write() 98 return esp_flash_write(NULL, src, dest_addr, size); in bootloader_flash_write() 108 esp_err_t bootloader_flash_erase_range(uint32_t start_addr, uint32_t size) in bootloader_flash_erase_range() argument [all …]
|