From 8ce11e160811fd34d24f13dd7e0bdc0581a612fd Mon Sep 17 00:00:00 2001 From: gaoxu Date: Wed, 11 Mar 2026 10:13:48 +0800 Subject: [PATCH] change(esp_hw_support): h21 eco1 support and fix drom address error --- Kconfig | 2 -- components/esp_hw_support/port/esp32h21/Kconfig.hw_support | 2 +- components/esp_rom/esp32h21/include/esp32h21/rom/rom_layout.h | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Kconfig b/Kconfig index f7131ed37d..a4c2de5aa9 100644 --- a/Kconfig +++ b/Kconfig @@ -141,8 +141,6 @@ mainmenu "Espressif IoT Development Framework Configuration" default "y" if IDF_TARGET="esp32h21" select FREERTOS_UNICORE select IDF_TARGET_ARCH_RISCV - select IDF_ENV_BRINGUP - select IDF_ENV_FPGA if ESP32H21_SELECTS_REV_MP config IDF_TARGET_ESP32H4 bool diff --git a/components/esp_hw_support/port/esp32h21/Kconfig.hw_support b/components/esp_hw_support/port/esp32h21/Kconfig.hw_support index ac4cd88f8c..0feb7cd606 100644 --- a/components/esp_hw_support/port/esp32h21/Kconfig.hw_support +++ b/components/esp_hw_support/port/esp32h21/Kconfig.hw_support @@ -3,7 +3,7 @@ comment "Read the help text of the option below for explanation" config ESP32H21_SELECTS_REV_MP bool "Select ESP32-H21 MP version" - default n + default y help Enable this option to select ESP32-H21 MP revision. MP revisions have some hardware differences with Beta revision. diff --git a/components/esp_rom/esp32h21/include/esp32h21/rom/rom_layout.h b/components/esp_rom/esp32h21/include/esp32h21/rom/rom_layout.h index 1a1355f864..d87ffe7ada 100644 --- a/components/esp_rom/esp32h21/include/esp32h21/rom/rom_layout.h +++ b/components/esp_rom/esp32h21/include/esp32h21/rom/rom_layout.h @@ -88,6 +88,8 @@ typedef struct { void *dram_start_uart_rom; void *dram_end_uart_rom; + void *eh_frame_vaddr_rom; + void *eh_frame_hdr_vaddr_rom; #if CONFIG_ESP32H21_SELECTS_REV_MP void *drom_start; #endif