[Feature] Support pvPortRealloc

This commit is contained in:
skb666 2025-12-25 21:36:23 +08:00 committed by Anubhav Rawal
parent 67f59a5f58
commit bf149971b6
6 changed files with 497 additions and 0 deletions

View file

@ -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