Our application is using static pools within the POOL module. We are using these pools (four different pools) to allocate messages for the MSGQ module (MSGQ_alloc()). This is working just fine, but we would like to be able to calculate the remaining/available memory in each pool. I don't see such a way to calculate this using any of the API. I was hoping there was something such as POOL_stats() that would return the free blocks or free memory.
Does anyone know of a way to accomplish this? Thanks in advance!