Skip to content

Commit

Permalink
fix(soc): correct SOC_IROM_MASK_HIGH for esp32s3
Browse files Browse the repository at this point in the history
Fixes corrupted backtraces on S3 when a function is in ROM.

Closes #11512
  • Loading branch information
igrr committed Nov 14, 2023
1 parent 4ef8121 commit 47c455c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/soc/esp32s3/include/soc/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
#define SOC_EXTRAM_DATA_LOW 0x3D000000
#define SOC_EXTRAM_DATA_HIGH 0x3E000000
#define SOC_IROM_MASK_LOW 0x40000000
#define SOC_IROM_MASK_HIGH 0x4001A100
#define SOC_IROM_MASK_HIGH 0x40060000

#define SOC_EXTRAM_DATA_SIZE (SOC_EXTRAM_DATA_HIGH - SOC_EXTRAM_DATA_LOW)
#define SOC_MAX_CONTIGUOUS_RAM_SIZE (SOC_EXTRAM_DATA_HIGH - SOC_EXTRAM_DATA_LOW) ///< Largest span of contiguous memory (DRAM or IRAM) in the address space
Expand Down

0 comments on commit 47c455c

Please sign in to comment.