+}
+
+/* Heap info helper functions */
+
+void kheap_info(mem_pool_t * pool) {
+
+
+ printf("HEAP INFO:\n");
+ printf("BLOCKS FREE: %d\n", pool->free_blocks);
+
+ unsigned char* curr_addr = pool->SRAM_entry;
+
+ // Loop over heap blocks
+ for (int i = 0; i < pool->blocks; i++) {
+ printf("\nBLOCK %d", i+1);
+ for (int j = 0; j < (pool->block_size-1); j++) {
+
+ if (j % 10 == 0)
+ printf("\n%x ", curr_addr);
+ printf("%#x ", *curr_addr);
+ curr_addr++;
+ }
+ printf("\n");
+ curr_addr++;
+
+ }
+ printf("\n");
+
+}
+
+
+