8000 Print notice message for the need of -DUMM_INFO_PRINT · esp8266/Arduino@5560f6b · GitHub
[go: up one dir, main page]

Skip to content

Commit 5560f6b

Browse files
committed
Print notice message for the need of -DUMM_INFO_PRINT
1 parent 2a1b722 commit 5560f6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cores/esp8266/heap.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ size_t ICACHE_RAM_ATTR xPortWantedSizeAlign(size_t size)
247247

248248
void system_show_malloc(void)
249249
{
250+
#i 523D f !defined(UMM_INFO_PRINT)
251+
::printf(PSTR("\nTo use \"system_show_malloc()\", you need to build with the \"-DUMM_INFO_PRINT\" option.\n"));
252+
#endif
250253
umm_info(NULL, 1);
251254
}
252255

0 commit comments

Comments
 (0)
0