When I only used XXLARGE block, I got bellow error:
..\..\..\..\..\..\components\libraries\mem_manager\mem_manager.c(484): error: #94-D: the size of an array must be greater than zero
static uint32_t m_mem_pool[
LOCK_BITMAP_ARRAY_SIZE]; /**< Bitmap used for book-keeping availability of all blocks managed by the module. */
After I checked mem_manager.c, I noticed LOCK_BITMAP_ARRAY_SIZE used TOTAL_BLOCK_COUNT. TOTAL_BLOCK_COUNT is defined as bellow in mem_manager.c:
#define TOTAL_BLOCK_COUNT (MEMORY_MANAGER_XXSMALL_BLOCK_COUNT + \
MEMORY_MANAGER_XSMALL_BLOCK_COUNT + \
MEMORY_MANAGER_SMALL_BLOCK_COUNT + \
MEMORY_MANAGER_MEDIUM_BLOCK_COUNT + \
MEMORY_MANAGER_LARGE_BLOCK_COUNT + \
MEMORY_MANAGER_XLARGE_BLOCK_COUNT + \
MEMORY_MANAGER_XLARGE_BLOCK_COUNT)
It will be zero when I only use XXLARGE blocks. I think the last line sure be "MEMORY_MANAGER_XXLARGE_BLOCK_COUNT)".