mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/issue-18391-psram-default-docs' into 'master'
docs: clarify PSRAM default allocation behavior See merge request espressif/esp-idf!46985
This commit is contained in:
@@ -71,7 +71,16 @@ choice SPIRAM_USE
|
||||
config SPIRAM_USE_MEMMAP
|
||||
bool "Integrate RAM into memory map"
|
||||
config SPIRAM_USE_CAPS_ALLOC
|
||||
bool "Make RAM allocatable using heap_caps_malloc(..., MALLOC_CAP_SPIRAM)"
|
||||
bool "Add RAM to heap_caps allocator (malloc() stays internal by default)"
|
||||
help
|
||||
Add SPI RAM to the capability allocator.
|
||||
|
||||
Use heap_caps_malloc(..., MALLOC_CAP_SPIRAM) to explicitly allocate
|
||||
from SPI RAM. SPI RAM may also be returned by
|
||||
heap_caps_malloc(..., MALLOC_CAP_DEFAULT), since this heap is also
|
||||
registered with MALLOC_CAP_DEFAULT.
|
||||
|
||||
Standard malloc() does not allocate from SPI RAM by default in this mode.
|
||||
config SPIRAM_USE_MALLOC
|
||||
bool "Make RAM allocatable using malloc() as well"
|
||||
select FREERTOS_SUPPORT_STATIC_ALLOCATION
|
||||
|
||||
Reference in New Issue
Block a user