Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 25 of 74) sorted by relevance

123

/hal_espressif-3.7.0/components/esp_psram/
DKconfig.spiram.common10 have specific requirements, you'll want to leave this enabled so memory allocated
27 memory region in the CPU's memory map, by integrating it in the heap as 'special' memory
32 bool "Integrate RAM into memory map"
41 bool "Run memory test on SPI RAM initialization"
45 … Runs a rudimentary memory test on initialization. Aborts when memory test fails. Disable this for
49 int "Maximum malloc() size, in bytes, to always put in internal memory"
55 … allocate chunks less than this size in internal memory, while allocations larger than this will be
58 external memory is full.
61 … "Try to allocate memories of WiFi and LWIP in SPIRAM firstly. If failed, allocate internal memory"
66 memory then.
[all …]
/hal_espressif-3.7.0/components/esp_system/ld/
Dld.cmake1 # For each supported target, a memory.ld.in and sections.ld.in is processed and dictate the
2 # memory layout of the app.
4 # memory.ld.in goes through the preprocessor
10 set(ld_input "${CMAKE_CURRENT_LIST_DIR}/${target}/memory.ld.in")
11 set(ld_output "${CMAKE_CURRENT_BINARY_DIR}/ld/memory.ld")
22 # Preprocess memory.ld.in linker script to include configuration, becomes memory.ld
29 COMMENT "Generating memory.ld linker script..."
/hal_espressif-3.7.0/components/esp_system/ld/esp32/
Dmemory.ld.in8 This file describes the memory layout (memory blocks) as virtual
9 memory addresses.
12 into these memory blocks.
72 /* Shared data RAM, excluding memory reserved for ROM bss/data/stack.
78 in heap at runtime. However due to static ROM memory usage at this 176KB mark, the
79 additional static memory temporarily cannot be used.
91 /* RTC fast memory (executable). Persists over deep sleep. */
94 /* RTC fast memory (same block as above, rtc_iram_seg), viewed from data bus */
98 It reserves the amount of RTC fast memory that we use for this memory segment.
105 /* RTC slow memory (data accessible). Persists over deep sleep.
[all …]
/hal_espressif-3.7.0/components/spi_flash/include/
Dspi_flash_mmap.h68 esp_err_t spi_flash_mmap(size_t src_addr, size_t size, spi_flash_mmap_memory_t memory,
94 esp_err_t spi_flash_mmap_pages(const int *pages, size_t page_count, spi_flash_mmap_memory_t memory,
130 uint32_t spi_flash_mmap_get_free_pages(spi_flash_mmap_memory_t memory);
166 const void *spi_flash_phys2cache(size_t phys_offs, spi_flash_mmap_memory_t memory);
/hal_espressif-3.7.0/components/spi_flash/sim/
DSpiFlash.cpp67 this->memory = (uint8_t *) malloc(this->chip_size); in init()
68 memset(this->memory, 0xFF, this->chip_size); in init()
80 memcpy(&this->memory[CONFIG_PARTITION_TABLE_OFFSET], buffer.data(), buffer.size()); in init()
86 free(this->memory); in deinit()
158 memset(&this->memory[page * this->page_size], 0xFF, this->page_size); in erase_page()
189 uint8_t written = this->memory[dest_addr + ctr]; in write()
194 this->memory[dest_addr + ctr] = data; in write()
222 memcpy(dest, &this->memory[src_addr], size); in read()
228 return &this->memory[src_address]; in get_memory_ptr()
/hal_espressif-3.7.0/components/esp_system/ld/esp32s2/
Dmemory.ld.in8 This file describes the memory layout (memory blocks) by virtual memory addresses.
75 /* Shared data RAM, excluding memory reserved for bootloader and ROM bss/data/stack. */
85 /* RTC fast memory (executable). Persists over deep sleep.
89 /* RTC slow memory (data accessible). Persists over deep sleep.
91 Start of RTC slow memory is reserved for ULP co-processor code + data, if enabled.
100 /* RTC fast memory (same block as above, rtc_iram_seg), viewed from data bus */
104 It reserves the amount of RTC fast memory that we use for this memory segment.
112 /* external memory, covers the dport, dram0, dram1 cacheable address space */
129 When the option is not defined then use slow memory segment
130 else the data will be placed in fast memory segment
/hal_espressif-3.7.0/components/esp_system/ld/esp32s3/
Dmemory.ld.in8 * This file describes the memory layout (memory blocks) by virtual memory addresses.
22 * memory, but can only be used after app starts.
24 * D cache use the memory from high address, so when it's configured to 16K/32K, the region
26 * static memory, leaving to the heap.
78 * Shared data RAM, excluding memory reserved for ROM bss/data/stack.
91 * RTC fast memory (executable). Persists over deep sleep.
96 It reserves the amount of RTC fast memory that we use for this memory segment.
105 * RTC slow memory (data accessible). Persists over deep sleep.
106 * Start of RTC slow memory is reserved for ULP co-processor code + data, if enabled.
134 /* RTC fast memory shares the same range for both data and instructions */
/hal_espressif-3.7.0/components/esp_system/port/soc/esp32s3/
DKconfig.memory4 bool "Place RTC_DATA_ATTR and RTC_RODATA_ATTR variables into RTC fast memory segment"
8 RTC fast memory segment to free the slow memory region for ULP programs.
28 … This value is less than the chips total memory, as not all of it can be used for this purpose.
30 as heap memory after app startup.
DKconfig.tracemem1 menu "Trace memory"
18 … of memory that can't be used for general purposes anymore. Disable this if you do not know
22 bool "Reserve memory for tracing both pro as well as app cpu execution"
29 … of memory that can't be used for general purposes anymore. Disable this if you do not know
38 endmenu # Trace memory
/hal_espressif-3.7.0/components/esp_system/port/soc/esp32s2/
DKconfig.memory4 bool "Place RTC_DATA_ATTR and RTC_RODATA_ATTR variables into RTC fast memory segment"
8 RTC fast memory segment to free the slow memory region for ULP programs.
28 … This value is less than the chips total memory, as not all of it can be used for this purpose.
30 as heap memory after app startup.
DKconfig.tracemem1 menu "Trace memory"
18 … of memory that can't be used for general purposes anymore. Disable this if you do not know
27 endmenu # Trace memory
/hal_espressif-3.7.0/components/esp_system/port/soc/esp32/
DKconfig.tracemem1 menu "Trace memory"
18 … of memory that can't be used for general purposes anymore. Disable this if you do not know
22 bool "Reserve memory for tracing both pro as well as app cpu execution"
29 … of memory that can't be used for general purposes anymore. Disable this if you do not know
39 endmenu # Trace memory
DKconfig.memory4 bool "Place RTC_DATA_ATTR and RTC_RODATA_ATTR variables into RTC fast memory segment"
9 RTC fast memory segment to free the slow memory region for ULP programs.
10 This option depends on the CONFIG_FREERTOS_UNICORE option because RTC fast memory
35 bool "Enable IRAM as 8 bit accessible memory"
52 to boot due to not recognizing the new IRAM memory area.
/hal_espressif-3.7.0/components/esp_system/ld/esp32c3/
Dmemory.ld.in9 * This file describes the memory layout (memory blocks) by virtual memory addresses.
19 * physical memory is mapped twice to the vritual address (IRAM and DRAM).
20 * `I_D_SRAM_OFFSET` is the offset between the two locations of the same physical memory
60 * Shared data RAM, excluding memory reserved for ROM bss/data/stack.
73 * RTC fast memory (executable). Persists over deep sleep.
78 It reserves the amount of RTC fast memory that we use for this memory segment.
94 * As C3 only has RTC fast memory, this is not configurable like on other targets
/hal_espressif-3.7.0/components/esp_system/ld/esp32c6/
Dmemory.ld.in9 * This file describes the memory layout (memory blocks) by virtual memory addresses.
19 * physical memory is mapped twice to the vritual address (IRAM and DRAM).
20 * `I_D_SRAM_OFFSET` is the offset between the two locations of the same physical memory
67 * Shared data RAM, excluding memory reserved for ROM bss/data/stack.
80 * lp ram memory (RWX). Persists over deep sleep. // TODO: IDF-5667
90 It reserves the amount of LP memory that we use for this memory segment.
106 …* C6 has no distinguished LP(RTC) fast and slow memory sections, instead, there is a unified LP_R…
/hal_espressif-3.7.0/components/esp_system/ld/esp32h2/
Dmemory.ld.in9 * This file describes the memory layout (memory blocks) by virtual memory addresses.
19 * physical memory is mapped twice to the vritual address (IRAM and DRAM).
20 * `I_D_SRAM_OFFSET` is the offset between the two locations of the same physical memory
67 * Shared data RAM, excluding memory reserved for ROM bss/data/stack.
80 * lp ram memory (RWX). Persists over deep sleep. // ESP32H2-TODO IDF-6272
86 It reserves the amount of LP memory that we use for this memory segment.
102 * As C3 only has RTC fast memory, this is not configurable like on other targets
/hal_espressif-3.7.0/components/heap/
DKconfig1 menu "Heap memory debugging"
7 …le heap poisoning features to detect heap corruption caused by out-of-bounds access to heap memory.
56 … More stack frames uses more memory in the heap trace buffer (and slows down allocation), but
81 Keeping this as "n" in your project will save RAM and heap memory but will lower
83 Making this as "y" in your project, you will decrease free RAM and heap memory but,
94 the bigger the hash map will be in the memory. In case the tracing mode is set to
98 bool "Abort if memory allocation fails"
101 When enabled, if a memory allocation operation fails it will cause a system abort.
117 bool "Force the entire heap component to be placed in flash memory"
121 Enable this flag to save up RAM space by placing the heap component in the flash memory
/hal_espressif-3.7.0/components/spi_flash/
Dflash_mmap.c56 esp_err_t spi_flash_mmap(size_t src_addr, size_t size, spi_flash_mmap_memory_t memory, in spi_flash_mmap() argument
79 if (memory == SPI_FLASH_MMAP_INST) { in spi_flash_mmap()
161 esp_err_t spi_flash_mmap_pages(const int *pages, size_t page_count, spi_flash_mmap_memory_t memory, in spi_flash_mmap_pages() argument
193 if (memory == SPI_FLASH_MMAP_INST) { in spi_flash_mmap_pages()
268 uint32_t spi_flash_mmap_get_free_pages(spi_flash_mmap_memory_t memory) in spi_flash_mmap_get_free_pages() argument
271 if (memory == SPI_FLASH_MMAP_INST) { in spi_flash_mmap_get_free_pages()
314 const void * spi_flash_phys2cache(size_t phys_offs, spi_flash_mmap_memory_t memory) in spi_flash_phys2cache() argument
335 mmu_vaddr_t type = (memory == SPI_FLASH_MMAP_DATA) ? MMU_VADDR_DATA : MMU_VADDR_INSTRUCTION; in spi_flash_phys2cache()
/hal_espressif-3.7.0/components/xtensa/trax/test/
Dgdbinit10 # Clear trace memory
14 # Enable trace memory
/hal_espressif-3.7.0/components/esp_system/ld/esp32c2/
Dmemory.ld.in3 * This file describes the memory layout (memory blocks) by virtual memory addresses.
50 * Shared data RAM, excluding memory reserved for ROM bss/data/stack.
/hal_espressif-3.7.0/components/esp_psram/esp32s2/
DKconfig.spiram33 bool "Allow external memory as an argument to xTaskCreateStatic"
36 … Accessing memory in SPIRAM has certain restrictions, so task stacks allocated by xTaskCreate
39 … This option allows for passing memory allocated from SPIRAM to be passed to xTaskCreateStatic.
/hal_espressif-3.7.0/components/heap/test_apps/heap_tests/
Dsdkconfig.defaults3 CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n # memory protection needs to be disabled for certain tests
/hal_espressif-3.7.0/components/esp_psram/esp32s3/
DKconfig.spiram42 bool "Allow external memory as an argument to xTaskCreateStatic"
45 … Accessing memory in SPIRAM has certain restrictions, so task stacks allocated by xTaskCreate
48 … This option allows for passing memory allocated from SPIRAM to be passed to xTaskCreateStatic.
/hal_espressif-3.7.0/components/esp_system/
DKconfig8 orsource "./port/soc/$IDF_TARGET/Kconfig.memory"
107 bool "Enable RTC fast memory for dynamic allocations"
111 This config option allows to add RTC fast memory region to system heap with capability
112 similar to that of DRAM region but without DMA. This memory will be consumed first per
114 … wise RTC fast memory operates on APB clock and hence does not have much performance impact.
135 If enabled, the CPU watches all the memory access and raises an exception in case
136 of any memory violation. This feature automatically splits
137 … the SRAM memory, using PMP, into data and instruction segments and sets Read/Execute permissions
139 for the data part (above the splitting address). The memory protection is effective
143 bool "Enable memory protection"
[all …]
/hal_espressif-3.7.0/components/bootloader/subproject/main/ld/esp32c2/
Dbootloader.ld6 /** Simplified memory map for the bootloader.
7 * Make sure the bootloader can load into main memory without overwriting itself.
49 …* 3. Update (SRAM_DRAM_END + I_D_SRAM_OFFSET) in components/esp_system/ld/esp32c2/memory.ld.in to …
233 * | | 3. Shared memory only used in startup code or nonos/early boot*
240 * | | 4. Shared memory used in startup code and when IDF runs

123