Make microbit_heap_print() available externally

The heap printing in MicrobitHeapAllocator is really useful for
gauging how much memory is free at various points in the program.

Specifically, by calling this after the uBit object is created we
can start to measure a high-water-mark for RAM and track it over
releases, etc
This commit is contained in:
Jonathan Austin 2018-10-02 17:10:44 +01:00
parent 94fa768a8f
commit 3e37cc9c4e

View file

@ -83,5 +83,6 @@ struct HeapDefinition
* simply use the standard heap.
*/
int microbit_create_heap(uint32_t start, uint32_t end);
void microbit_heap_print();
#endif