You copied the Doc URL to your clipboard.

C library support for memory allocation functions

malloc(), realloc(), calloc(), and free() are built on a heap abstract data type. You can choose between Heap1 or Heap2, the two provided heap implementations.

The default implementations of malloc(), realloc(), and calloc() maintain an eight-byte aligned heap.


ARM C and C++ Libraries and Floating-Point Support Reference: