8.4. Compact Memory Pools
Compact memory pooling can reduce memory fragmentation from the usual 20-30% to less than 5%.
Note] Compact memory pooling can slow down the operation speed.
Refer to the
Where means open compact memory pool, means the size of the memory pool, the memory pool pre-apply memory from heap, please make sure the heap can apply to that size.
Initialize the memory pool before or .
Reference: bsp/stm32g030c8/Booter/main.c