From 1fabfd005bf203295500f94dfc5e9bca7201ca11 Mon Sep 17 00:00:00 2001 From: Darian Leung Date: Sat, 23 Jan 2021 06:05:18 +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/esp32s2/include/soc/soc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/esp32s2/include/soc/soc.h b/components/soc/esp32s2/include/soc/soc.h index 6325f311d7..5084c23c50 100644 --- a/components/soc/esp32s2/include/soc/soc.h +++ b/components/soc/esp32s2/include/soc/soc.h @@ -255,7 +255,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