Resources | Resources |




The Brew MP Platform Validation Suite (PVS) includes test cases for verifying the implementation of heap interfaces, such as:

  • Heap_CheckAvail for checking available memory
  • Heap_MALLOC, _REALLOC, _FREE for allocating/reallocating/freeing blocks
  • Heap_GETRAMFREE for getting memory statistics
  • Heap_GetModuleMemStats for checking free RAM
  • Heap_STRDUP for duplicating strings

The test cases also log the results. For more details, consult the PVS Test Case documentation, under System > Brewcore > Heap.