mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-22 01:30:31 -05:00
[Feature] Support pvPortRealloc
This commit is contained in:
parent
67f59a5f58
commit
bf149971b6
6 changed files with 497 additions and 0 deletions
|
|
@ -283,6 +283,11 @@
|
|||
* https://www.freertos.org/Static_Vs_Dynamic_Memory_Allocation.html. */
|
||||
#define configSUPPORT_DYNAMIC_ALLOCATION 1
|
||||
|
||||
/* Set configSUPPORT_HEAP_REALLOC to 1 to include FreeRTOS API functions
|
||||
* that support reallocating memory blocks in the build. Set to 0 to exclude
|
||||
* realloc support from the build. Defaults to 0 if left undefined. */
|
||||
#define configSUPPORT_HEAP_REALLOC 0
|
||||
|
||||
/* Sets the total size of the FreeRTOS heap, in bytes, when heap_1.c, heap_2.c
|
||||
* or heap_4.c are included in the build. This value is defaulted to 4096 bytes
|
||||
* but it must be tailored to each application. Note the heap will appear in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue