From 3ab5e3ad6600b3e99a77f21a02388071f939a468 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Wed, 20 Nov 2019 06:32:06 +0100 Subject: [PATCH] cpu/esp32: fix heap command output The heap command output has to have an output format that is compatible with the test. --- cpu/esp32/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp32/syscalls.c b/cpu/esp32/syscalls.c index 417d53ce1c..95ed6f782e 100644 --- a/cpu/esp32/syscalls.c +++ b/cpu/esp32/syscalls.c @@ -271,7 +271,7 @@ unsigned int IRAM get_free_heap_size (void) void heap_stats(void) { - printf("heap: %u (used %u free %u)\n", (unsigned)(&_eheap - &_sheap), + printf("heap: %u (used %u, free %u) [bytes]\n", (unsigned)(&_eheap - &_sheap), &_eheap - &_sheap - get_free_heap_size(), get_free_heap_size()); }