Xtensa_ESP32: Fix build issues when external SPIRAM is enabled (#381)
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
parent
d858d1ff36
commit
6ba8aa63c1
@ -89,6 +89,9 @@
|
|||||||
|
|
||||||
#include <esp_heap_caps.h>
|
#include <esp_heap_caps.h>
|
||||||
#include "soc/soc_memory_layout.h"
|
#include "soc/soc_memory_layout.h"
|
||||||
|
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0))
|
||||||
|
#include "soc/compare_set.h"
|
||||||
|
#endif /* ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0) */
|
||||||
|
|
||||||
/*#include "xtensa_context.h" */
|
/*#include "xtensa_context.h" */
|
||||||
|
|
||||||
|
3
portable/ThirdParty/GCC/Xtensa_ESP32/port.c
vendored
3
portable/ThirdParty/GCC/Xtensa_ESP32/port.c
vendored
@ -484,6 +484,8 @@ void vPortSetStackWatchpoint( void * pxStackStart )
|
|||||||
esp_set_watchpoint( 1, ( char * ) addr, 32, ESP_WATCHPOINT_STORE );
|
esp_set_watchpoint( 1, ( char * ) addr, 32, ESP_WATCHPOINT_STORE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 2, 0))
|
||||||
|
|
||||||
#if defined( CONFIG_SPIRAM_SUPPORT )
|
#if defined( CONFIG_SPIRAM_SUPPORT )
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -522,6 +524,7 @@ void vPortSetStackWatchpoint( void * pxStackStart )
|
|||||||
}
|
}
|
||||||
#endif //defined(CONFIG_SPIRAM_SUPPORT)
|
#endif //defined(CONFIG_SPIRAM_SUPPORT)
|
||||||
|
|
||||||
|
#endif /* ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 2, 0) */
|
||||||
|
|
||||||
|
|
||||||
uint32_t xPortGetTickRateHz( void )
|
uint32_t xPortGetTickRateHz( void )
|
||||||
|
Reference in New Issue
Block a user