From 16f33174964534ed2168d334ca5e57746abd030c Mon Sep 17 00:00:00 2001 From: Laukik Hase Date: Mon, 17 Apr 2023 10:49:06 +0530 Subject: [PATCH] soc/esp32s3: Fix the `SOC_MEM_INTERNAL_HIGH` value - As per the memory block diagram for ESP32-S3, the internal memory address ranges as follows: DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000 IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH) --- components/soc/esp32s3/include/soc/soc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/esp32s3/include/soc/soc.h b/components/soc/esp32s3/include/soc/soc.h index db00b6b870..38c0ae2480 100644 --- a/components/soc/esp32s3/include/soc/soc.h +++ b/components/soc/esp32s3/include/soc/soc.h @@ -218,7 +218,7 @@ //Region of memory that is internal, as in on the same silicon die as the ESP32 CPUs //(excluding RTC data region, that's checked separately.) See esp_ptr_internal(). #define SOC_MEM_INTERNAL_LOW 0x3FC88000 -#define SOC_MEM_INTERNAL_HIGH 0x403E2000 +#define SOC_MEM_INTERNAL_HIGH 0x403E0000 // Start (highest address) of ROM boot stack, only relevant during early boot #define SOC_ROM_STACK_START 0x3fceb710