Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/esp32s2/
Dspiram.c332 uint32_t size_for_flash = (pages_for_flash << 16); in esp_spiram_add_to_heapalloc() local
339 …return heap_caps_add_region((intptr_t)SPIRAM_SMALL_SIZE_MAP_VADDR + size_for_flash, (intptr_t)SPIR… in esp_spiram_add_to_heapalloc()
344 if (size_for_flash <= SPIRAM_MID_SIZE_MAP_SIZE) { in esp_spiram_add_to_heapalloc()
345 …r_t err = heap_caps_add_region((intptr_t)SPIRAM_MID_SIZE_MAP_VADDR + size_for_flash, (intptr_t)SPI… in esp_spiram_add_to_heapalloc()
351 …eturn heap_caps_add_region((intptr_t)SPIRAM_MID_BIG_SIZE_MAP_VADDR + size_for_flash - SPIRAM_MID_S… in esp_spiram_add_to_heapalloc()
354 if (size_for_flash <= SPIRAM_SIZE_EXC_DATA_CACHE) { in esp_spiram_add_to_heapalloc()
360 } else if (size_for_flash <= SPIRAM_SIZE_EXC_DRAM0_DRAM1_DPORT) { in esp_spiram_add_to_heapalloc()
361 …r_t err = heap_caps_add_region((intptr_t)SPIRAM_BIG_SIZE_MAP_VADDR + size_for_flash - SPIRAM_SIZE_… in esp_spiram_add_to_heapalloc()
367 …eturn heap_caps_add_region((intptr_t)SPIRAM_MID_BIG_SIZE_MAP_VADDR + size_for_flash - SPIRAM_SIZE_… in esp_spiram_add_to_heapalloc()
372 if (size_for_flash <= SPIRAM_SIZE_EXC_DRAM0_DRAM1_DPORT) { in esp_spiram_add_to_heapalloc()
[all …]
/hal_espressif-2.7.6/components/esp32s3/
Dspiram.c272 uint32_t size_for_flash = (pages_for_flash << 16); in esp_spiram_add_to_heapalloc() local
277 …return heap_caps_add_region((intptr_t)SOC_EXTRAM_DATA_HIGH - spiram_size + size_for_flash, (intptr… in esp_spiram_add_to_heapalloc()