mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(mmu): configurable page size s31 support
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# This Config is used for configure the MMU.
|
||||
# Be configured based on flash size selection.
|
||||
# Invisible to users.
|
||||
|
||||
config MMU_PAGE_SIZE_8KB
|
||||
bool
|
||||
default n
|
||||
|
||||
config MMU_PAGE_SIZE_16KB
|
||||
bool
|
||||
default y if ESPTOOLPY_FLASHSIZE_1MB
|
||||
default n
|
||||
|
||||
config MMU_PAGE_SIZE_32KB
|
||||
bool
|
||||
default y if ESPTOOLPY_FLASHSIZE_2MB
|
||||
default n
|
||||
|
||||
config MMU_PAGE_SIZE_64KB
|
||||
bool
|
||||
default y if !MMU_PAGE_SIZE_32KB && !MMU_PAGE_SIZE_16KB && !MMU_PAGE_SIZE_8KB
|
||||
default n
|
||||
@@ -355,10 +355,6 @@ config SOC_MMU_PAGE_SIZE_CONFIGURABLE
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_MMU_PAGE_SIZE_8KB_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_MMU_PERIPH_NUM
|
||||
int
|
||||
default 1
|
||||
|
||||
@@ -171,7 +171,6 @@
|
||||
|
||||
/*-------------------------- MMU CAPS ----------------------------------------*/
|
||||
#define SOC_MMU_PAGE_SIZE_CONFIGURABLE (1)
|
||||
#define SOC_MMU_PAGE_SIZE_8KB_SUPPORTED (1)
|
||||
#define SOC_MMU_PERIPH_NUM (1U)
|
||||
#define SOC_MMU_LINEAR_ADDRESS_REGION_NUM (1U)
|
||||
#define SOC_MMU_DI_VADDR_SHARED (1) /*!< D/I vaddr are shared */
|
||||
|
||||
Reference in New Issue
Block a user