I'm using heap4.c for the memory management of dynamic allocation for kernel objects in the heap.
Does the API xPortGetFreeHeapSize() gives me the total amount of heap space that remains unallocated includes the fragmented memory or without the fragmented memory ?
fragmented memory is the memory that I cannot use for memory allocation.
It gives you the total amount of free memory - it doesn't tell you
anything about how that memory may be fragmented.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.