forked from espressif/esp-idf
Merge branch 'fix/gdbstub_psram_for_esp32p4' into 'master'
feat(gdbstub): fix access to PSRAM for esp32p4 See merge request espressif/esp-idf!29586
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "esp_gdbstub.h"
|
||||
#include "esp_gdbstub_common.h"
|
||||
#include "esp_cpu.h"
|
||||
#include "esp_ipc_isr.h"
|
||||
#include "rv_decode.h"
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_private/crosscore_int.h"
|
||||
|
@@ -31,6 +31,9 @@ static inline bool __is_valid_memory_region(intptr_t addr)
|
||||
#endif
|
||||
#if defined(SOC_CPU_SUBSYSTEM_LOW) && defined(SOC_CPU_SUBSYSTEM_HIGH)
|
||||
(addr >= SOC_CPU_SUBSYSTEM_LOW && addr < SOC_CPU_SUBSYSTEM_HIGH) ||
|
||||
#endif
|
||||
#if defined(SOC_EXTRAM_LOW) && defined(SOC_EXTRAM_HIGH)
|
||||
(addr >= SOC_EXTRAM_LOW && addr < SOC_EXTRAM_HIGH) ||
|
||||
#endif
|
||||
(addr >= SOC_PERIPHERAL_LOW && addr < SOC_PERIPHERAL_HIGH);
|
||||
}
|
||||
|
Reference in New Issue
Block a user