From f837b298e6f1f52bc6fc2a17b056d01b9ccf4477 Mon Sep 17 00:00:00 2001 From: Darian Leung Date: Mon, 24 May 2021 15:22:16 +0800 Subject: [PATCH] soc: Fix SOC_IROM_MASK_HIGH address The high address limit IROM on the esp32s2 is incorrect, thus causing backtrace printing to think valid function PCs are invalid. --- components/soc/soc/esp32s2/include/soc/soc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/soc/esp32s2/include/soc/soc.h b/components/soc/soc/esp32s2/include/soc/soc.h index 0181a992fc..ad05a93d23 100644 --- a/components/soc/soc/esp32s2/include/soc/soc.h +++ b/components/soc/soc/esp32s2/include/soc/soc.h @@ -251,7 +251,7 @@ #define SOC_IROM_LOW 0x40080000 #define SOC_IROM_HIGH 0x40800000 #define SOC_IROM_MASK_LOW 0x40000000 -#define SOC_IROM_MASK_HIGH 0x4001A100 +#define SOC_IROM_MASK_HIGH 0x40020000 #define SOC_IRAM_LOW 0x40020000 #define SOC_IRAM_HIGH 0x40070000 #define SOC_DRAM_LOW 0x3FFB0000