mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(gdbstub): fix access to PSRAM for esp32p4
This commit is contained in:
parent
56756a799e
commit
18e0fe7842
@ -8,6 +8,7 @@
|
|||||||
#include "esp_gdbstub.h"
|
#include "esp_gdbstub.h"
|
||||||
#include "esp_gdbstub_common.h"
|
#include "esp_gdbstub_common.h"
|
||||||
#include "esp_cpu.h"
|
#include "esp_cpu.h"
|
||||||
|
#include "esp_ipc_isr.h"
|
||||||
#include "rv_decode.h"
|
#include "rv_decode.h"
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#include "esp_private/crosscore_int.h"
|
#include "esp_private/crosscore_int.h"
|
||||||
|
@ -31,6 +31,9 @@ static inline bool __is_valid_memory_region(intptr_t addr)
|
|||||||
#endif
|
#endif
|
||||||
#if defined(SOC_CPU_SUBSYSTEM_LOW) && defined(SOC_CPU_SUBSYSTEM_HIGH)
|
#if defined(SOC_CPU_SUBSYSTEM_LOW) && defined(SOC_CPU_SUBSYSTEM_HIGH)
|
||||||
(addr >= SOC_CPU_SUBSYSTEM_LOW && addr < 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
|
#endif
|
||||||
(addr >= SOC_PERIPHERAL_LOW && addr < SOC_PERIPHERAL_HIGH);
|
(addr >= SOC_PERIPHERAL_LOW && addr < SOC_PERIPHERAL_HIGH);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user