Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/mmu_driver' into 'master'
esp_mm: new virtual memory mapping driver via mmu Closes IDF-5847, IDF-6076, IDF-5023, IDF-5339, and IDFGH-8961 See merge request espressif/esp-idf!20540
- Loading branch information
Showing
108 changed files
with
3,838 additions
and
1,180 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
idf_build_get_property(target IDF_TARGET) | ||
|
||
set(includes "include") | ||
|
||
# Note: requires spi_flash for cache_utils, will be refactored | ||
set(priv_requires heap spi_flash) | ||
|
||
set(srcs) | ||
|
||
if(NOT CONFIG_APP_BUILD_TYPE_PURE_RAM_APP) | ||
set(srcs "esp_mmu_map.c" | ||
"port/${target}/ext_mem_layout.c") | ||
endif() | ||
|
||
idf_component_register(SRCS ${srcs} | ||
INCLUDE_DIRS ${includes} | ||
PRIV_REQUIRES ${priv_requires}) | ||
|
||
if(NOT BOOTLOADER_BUILD) | ||
if(CONFIG_SPIRAM) | ||
# Use esp_psram for `esp_psram_extram_writeback_cache()` on ESP32 | ||
idf_component_optional_requires(PRIVATE esp_psram) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
menu "ESP Memory Management" | ||
|
||
# Add MMU setting menu here | ||
# Add Cache setting menu here | ||
|
||
orsource "./Kconfig.mmap" | ||
|
||
endmenu # ESP Memory Management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
menu "MMAP Configuration" | ||
|
||
endmenu |
Oops, something went wrong.