Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 58) sorted by relevance

123

/hal_espressif-3.6.0/components/heap/
Dheap_caps_init.c30 static void register_heap(heap_t *region) in register_heap() argument
32 size_t heap_size = region->end - region->start; in register_heap()
34 region->heap = multi_heap_register((void *)region->start, heap_size); in register_heap()
35 if (region->heap != NULL) { in register_heap()
36 ESP_EARLY_LOGD(TAG, "New heap initialised at %p", region->heap); in register_heap()
96 soc_memory_region_t *region = &regions[i]; in heap_caps_init() local
97 const soc_memory_type_desc_t *type = &soc_memory_types[region->type]; in heap_caps_init()
99 if (region->type == -1) { in heap_caps_init()
106 heap->start = region->start; in heap_caps_init()
107 heap->end = region->start + region->size; in heap_caps_init()
[all …]
/hal_espressif-3.6.0/tools/
Didf_size.py52 …def __init__(self, start: int, length: int, region: 'MemRegions.MemRegDef', section: Optional[str]…
55 self.region = region
95 for region in self.chip_mem_regions: # type: ignore
96 if region.primary_addr <= start < region.primary_addr + region.length:
97 return (region, length)
98 …if region.secondary_addr and region.secondary_addr <= start < region.secondary_addr + region.lengt…
99 return (region, length)
107 (region, cur_len) = self._get_first_region(start, length)
108 if region is None:
113 ret.append(MemRegions.Region(start, cur_len, region, name))
[all …]
/hal_espressif-3.6.0/components/espcoredump/test/
Dtest_sections.c26 static inline bool is_addr_in_region(void* addr, uint8_t* region, int region_size) in is_addr_in_region() argument
28 const void* start = (void*) region; in is_addr_in_region()
29 const void* end = (void*) (region + region_size); in is_addr_in_region()
/hal_espressif-3.6.0/docs/en/api-guides/
Dmemory-types.rst15 …by the linker into Internal SRAM as data memory. Remaining space in this region is used for the ru…
23 …e internal DRAM region is reduced by 64kB (by shifting start address to ``0x3FFC0000``) if Bluetoo…
53 …ESP-IDF allocates part of Internal SRAM0 region for instruction RAM. The region is defined in *{ID…
57 …ESP-IDF allocates part of Internal SRAM region for instruction RAM. The region is defined in *{IDF…
77 Some code is automatically placed into the IRAM region using the linker script.
117 …m IRAM) configures the MMU flash cache to map the app's instruction code region to the instruction…
122 The same region of RTC fast memory can be accessed as both instruction and data memory. Code which …
141 By default, constant data is placed by the linker into a region mapped to the MMU flash cache. This…
Dexternal-ram.rst54 …ress {IDF_TARGET_PSRAM_ADDR_START} (byte-accessible). The length of this region is the same as the…
56 Applications can manually place data in external memory by creating pointers to this region. So if …
100 …If enabled, a region of the address space starting from {IDF_TARGET_PSRAM_ADDR_START} will be used…
118 …ing :ref:`CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY`. If enabled, a region of the address spa…
135 …* External RAM uses the same cache region as the external flash. This means that frequently access…
/hal_espressif-3.6.0/docs/en/api-reference/system/
Dmem_alloc.rst64 …s available as either DRAM or IRAM. If memory is allocated from a D/IRAM region, the free heap siz…
120 …To use the region above the 4MiB limit, you can use the :doc:`himem API</api-reference/system/hime…
152 …t information for the chip, and the different capabilities of each region. Each region's capabilit…
154region of memory contains its own memory heap. The heaps are created using the `multi_heap <API Re…
156 … each region's use) and then calling :cpp:func:`multi_heap_malloc` or :cpp:func:`multi_heap_calloc…
Dhimem.rst11 …nted by the himem API is a bankswitching scheme. Hardware-wise, the 4MiB region for external SPI R…
13 4MiB region accessed by the CPU. For external memories that are <=4MiB, this MMU is configured to u…
/hal_espressif-3.6.0/components/wear_levelling/doc/
Dwl_sw_structure.rst61 The Configuration region used to store configuration information. The user can use it to recover th…
62 The Data - is a region where user data stored.
63 The States - is a region where the WLC stores internal information about the WLC state. The States
70 The Data region divided to N pages (page could be equal to the sector size). One page defined as du…
/hal_espressif-3.6.0/components/spi_flash/
Desp_flash_api.c573 const esp_flash_region_t *region = &chip->chip_drv->protectable_regions[i]; in esp_flash_erase_region() local
575 && regions_overlap(start, len, region->offset, region->size)) { in esp_flash_erase_region()
714 static esp_err_t find_region(const esp_flash_t *chip, const esp_flash_region_t *region, uint8_t *in… in find_region() argument
716 if (region == NULL) { in find_region()
722 region, sizeof(esp_flash_region_t)) == 0) { in find_region()
730 …_flash_get_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool *out_protect… in esp_flash_get_protected_region() argument
740 err = find_region(chip, region, &index); in esp_flash_get_protected_region()
759 …R esp_flash_set_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool protect) in esp_flash_set_protected_region() argument
765 err = find_region(chip, region, &index); in esp_flash_set_protected_region()
DREADME_legacy.rst89 …ations. It is not possible to modify contents of flash memory by writing to a mapped memory region.
95 Reading data from flash using a memory mapped region is the only way to decrypt contents of flash w…
99 - :cpp:func:`spi_flash_mmap` maps a region of physical flash addresses into instruction space or da…
100 - :cpp:func:`spi_flash_munmap` unmaps previously mapped region.
/hal_espressif-3.6.0/components/esp_hw_support/
DKconfig.spiram.common31 memory region in the CPU's memory map, by integrating it in the heap as 'special' memory
60 …done from external RAM. If allocation from the preferred region fails, an attempt is made to alloc…
61 … from the non-preferred region instead, so malloc() will not suddenly fail when either internal or
89 …Note also that the DMA reserved pool may not be one single contiguous memory region, depending on …
/hal_espressif-3.6.0/components/spi_flash/include/
Desp_flash.h259 esp_err_t esp_flash_get_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool …
274 esp_err_t esp_flash_set_protected_region(esp_flash_t *chip, const esp_flash_region_t *region, bool …
/hal_espressif-3.6.0/components/espcoredump/src/
Dcore_dump_common.c256 int esp_core_dump_get_user_ram_info(coredump_region_t region, uint32_t *start) in esp_core_dump_get_user_ram_info() argument
262 switch (region) { in esp_core_dump_get_user_ram_info()
/hal_espressif-3.6.0/components/espcoredump/include_core_dump/
Desp_core_dump_common.h103 int esp_core_dump_get_user_ram_info(coredump_region_t region, uint32_t *start);
/hal_espressif-3.6.0/components/esp_system/ld/esp32s3/
Dmemory.ld.in32 * D cache use the memory from high address, so when it's configured to 16K/32K, the region
33 * 0x3FCF000 ~ (3FD00000 - DATA_CACHE_SIZE) should be available. This region is not used as
/hal_espressif-3.6.0/docs/en/api-reference/storage/
Dspi_flash.rst82 - :cpp:func:`esp_flash_erase_region` erases specific region of flash
141 …ations. It is not possible to modify contents of flash memory by writing to a mapped memory region.
147 Reading data from flash using a memory mapped region is the only way to decrypt contents of flash w…
151 - :cpp:func:`spi_flash_mmap` maps a region of physical flash addresses into instruction space or da…
152 - :cpp:func:`spi_flash_munmap` unmaps previously mapped region.
/hal_espressif-3.6.0/examples/storage/partition_api/partition_mmap/
DREADME.md10 …ction `esp_partition_mmap` is used to get a pointer to the mapped memory region and a handle to th…
/hal_espressif-3.6.0/examples/system/ulp_riscv/gpio/
DREADME.md10 …ing inside the main CPU loads ULP program into the `RTC_SLOW_MEM` memory region using `ulp_riscv_l…
/hal_espressif-3.6.0/components/esp_system/ld/esp32/
Dsections.ld.in202 * This section locates in External RAM region.
213 The section located in Internal SRAM memory region. The macro _NOINIT
/hal_espressif-3.6.0/components/esptool_py/esptool/docs/en/esptool/
Dadvanced-commands.rst40 The ``dump_mem`` command will dump a region from the chip's memory space to a file. For example, to…
60 …* Because the software loader is resident in IRAM and DRAM, this limits the region where a new pro…
/hal_espressif-3.6.0/components/esp32s2/
DKconfig434 RTC fast memory segment to free the slow memory region for ULP programs.
441 within the dram0_0 region. As a result, adding or removing some static variables
444 … If this option is enabled, the DRAM part of the heap starts right after the dram0_0 region,
/hal_espressif-3.6.0/components/esp32s3/
DKconfig490 RTC fast memory segment to free the slow memory region for ULP programs.
497 within the dram0_0 region. As a result, adding or removing some static variables
500 … If this option is enabled, the DRAM part of the heap starts right after the dram0_0 region,
/hal_espressif-3.6.0/.gitlab/ci/dependencies/
DREADME.md84 3. replace the auto-generated region in `rules.yml` with `labels`, and `rules`. Each mapping will g…
/hal_espressif-3.6.0/components/bootloader/subproject/main/ld/esp32s2/
Dbootloader.ld10 …00 /* Part SRAM Blocks 15 & 16, ROM static buffer starts at end of this region (reclaimed after a…
/hal_espressif-3.6.0/examples/system/ulp_fsm/ulp/
DREADME.md10 …ESP32 (found in main.c) loads ULP program into the `RTC_SLOW_MEM` memory region using `ulp_load_bi…

123