mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-15 15:00:02 +01:00
esp32/esp32s2beta: Extract common SPIRAM options into esp_commmon component
This commit is contained in:
committed by
suda-morris
parent
06e31e243c
commit
ddbd09eb15
@@ -440,7 +440,7 @@ void vPortSetStackWatchpoint( void* pxStackStart ) {
|
||||
esp_set_watchpoint(1, (char*)addr, 32, ESP_WATCHPOINT_STORE);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_ESP32_SPIRAM_SUPPORT)
|
||||
#if defined(CONFIG_SPIRAM)
|
||||
/*
|
||||
* Compare & set (S32C1) does not work in external RAM. Instead, this routine uses a mux (in internal memory) to fake it.
|
||||
*/
|
||||
@@ -464,7 +464,7 @@ void uxPortCompareSetExtram(volatile uint32_t *addr, uint32_t compare, uint32_t
|
||||
vPortCPUReleaseMutexIntsDisabled(&extram_mux);
|
||||
#endif
|
||||
}
|
||||
#endif //defined(CONFIG_ESP32_SPIRAM_SUPPORT)
|
||||
#endif //defined(CONFIG_SPIRAM)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user