mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 16:41:44 +01:00
docs(heap): Fixed mistake in the heap allocator docs
Closes https://github.com/espressif/esp-idf/issues/13353
This commit is contained in:
@@ -100,8 +100,8 @@ This allows any application to use the external RAM without having to rewrite th
|
||||
|
||||
An additional configuration item, :ref:`CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL`, can be used to set the size threshold when a single allocation should prefer external memory:
|
||||
|
||||
- When allocating a size less than the threshold, the allocator will try internal memory first.
|
||||
- When allocating a size equal to or larger than the threshold, the allocator will try external memory first.
|
||||
- When allocating a size less than or equal to the threshold, the allocator will try internal memory first.
|
||||
- When allocating a size larger than the threshold, the allocator will try external memory first.
|
||||
|
||||
If a suitable block of preferred internal/external memory is not available, the allocator will try the other type of memory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user