fix(esp_image_format): validate MMU page size

This commit is contained in:
Konstantin Kondrashov
2026-06-29 12:10:50 +03:00
parent d06a91db18
commit e08d198fd6
2 changed files with 24 additions and 5 deletions
+2
View File
@@ -25,11 +25,13 @@ typedef enum {
*/
typedef enum {
MMU_PAGE_8KB = 0x2000,
MMU_PAGE_SIZE_MIN = MMU_PAGE_8KB,
MMU_PAGE_16KB = 0x4000,
MMU_PAGE_32KB = 0x8000,
MMU_PAGE_64KB = 0x10000,
MMU_PAGE_128KB = 0x20000,
MMU_PAGE_256KB = 0x40000,
MMU_PAGE_SIZE_MAX = MMU_PAGE_256KB,
} mmu_page_size_t;
/**