feat(mmu): configurable page size s31 support

This commit is contained in:
armando
2026-04-20 16:58:29 +08:00
parent 0e658fa131
commit ab026ecc01
31 changed files with 273 additions and 60 deletions
+18
View File
@@ -0,0 +1,18 @@
# This Config is used for configure the MMU.
# Be configured based on flash size selection.
# Invisible to users.
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
default n