mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-25 17:52:36 +00:00
refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and move to freertos
This commit is contained in:
@@ -99,7 +99,7 @@ bool xPortcheckValidStackMem(const void * ptr)
|
||||
#if CONFIG_IDF_TARGET_LINUX
|
||||
return true;
|
||||
#else /* CONFIG_IDF_TARGET_LINUX */
|
||||
#ifdef CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY
|
||||
#ifdef CONFIG_FREERTOS_TASK_CREATE_ALLOW_EXT_MEM
|
||||
return esp_ptr_byte_accessible(ptr);
|
||||
#else
|
||||
return esp_ptr_internal(ptr) && esp_ptr_byte_accessible(ptr);
|
||||
|
Reference in New Issue
Block a user