feat(esp32h4): update rom.ld files for esp32h4 eco2

This commit is contained in:
Chen Jichang
2026-08-28 15:31:08 +08:00
parent 13e18a6a43
commit 3e32f8bb54
30 changed files with 483 additions and 108 deletions
@@ -71,6 +71,10 @@ config ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG
bool
default y
config ESP_ROM_HAS_LIBGCC
bool
default y
config ESP_ROM_WDT_INIT_PATCH
bool
default y
@@ -23,6 +23,7 @@
#define ESP_ROM_HAS_NEWLIB (1) // ROM has newlib (at least parts of it) functions included
#define ESP_ROM_HAS_NEWLIB_NANO_FORMAT (1) // ROM has the newlib nano versions of formatting functions
#define ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG (1) // ROM has the printf float bug with newlib nano version
#define ESP_ROM_HAS_LIBGCC (1) // ROM has libgcc functions included
#define ESP_ROM_WDT_INIT_PATCH (1) // ROM version does not configure the clock
#define ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE (1) // ROM needs to set cache MMU size according to instruction and rodata for flash mmap
#define ESP_ROM_RAM_APP_NEEDS_MMU_INIT (1) // ROM doesn't init cache MMU when it's a RAM APP, needs MMU hal to init