Select one of the symbols to view example projects that use it.
 
Outline
#include <stdlib.h>
#include <stdint.h>
#include "sdkconfig.h"
#include "soc/ext_mem_defs.h"
#include "../ext_mem_layout.h"
g_mmu_mem_regions
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_mm/port/esp32/ext_mem_layout.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #include <stdlib.h> #include <stdint.h> #include "sdkconfig.h" #include "soc/ext_mem_defs.h" #include "../ext_mem_layout.h"5 includes /** * These regions is referring to linear address * The start addresses in this list should always be sorted from low to high, as MMU driver will need to * coalesce adjacent regions *//* ... */ const mmu_mem_region_t g_mmu_mem_regions[SOC_MMU_LINEAR_ADDRESS_REGION_NUM] = { [0] = { .start = SOC_MMU_IRAM0_LINEAR_ADDRESS_LOW, .end = SOC_MMU_IRAM0_LINEAR_ADDRESS_HIGH, .size = SOC_BUS_SIZE(SOC_MMU_IRAM0_LINEAR), .bus_id = CACHE_BUS_IBUS0, .targets = MMU_TARGET_FLASH0, .caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_32BIT, }{...}, [1] = { .start = SOC_MMU_DROM0_LINEAR_ADDRESS_LOW, .end = SOC_MMU_DROM0_LINEAR_ADDRESS_HIGH, .size = SOC_BUS_SIZE(SOC_MMU_DROM0_LINEAR), .bus_id = CACHE_BUS_DBUS0, .targets = MMU_TARGET_FLASH0, .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT, }{...}, [2] = { .start = SOC_MMU_DRAM1_LINEAR_ADDRESS_LOW, .end = SOC_MMU_DRAM1_LINEAR_ADDRESS_HIGH, .size = SOC_BUS_SIZE(SOC_MMU_DRAM1_LINEAR), .bus_id = CACHE_BUS_DBUS1, .targets = MMU_TARGET_PSRAM0, .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_WRITE | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT, }{...}, }{...};
Details