feat(esp_hw_support): protect I/D ROM memory split for ESP32-H21

This commit is contained in:
nilesh.kale
2026-01-07 13:20:29 +08:00
committed by Nilesh Kale
parent 08d3b8c9d3
commit dfc07d30b7
2 changed files with 53 additions and 31 deletions
@@ -7,6 +7,7 @@
#pragma once
#include <stdint.h>
#include "sdkconfig.h"
#ifdef __cplusplus
extern "C" {
@@ -86,6 +87,10 @@ typedef struct {
void *dram_start_uart_rom;
void *dram_end_uart_rom;
#if CONFIG_ESP32H21_SELECTS_REV_MP
void *drom_start;
#endif
} ets_rom_layout_t;
extern const ets_rom_layout_t * const ets_rom_layout_p;