diff --git a/components/finsh/msh_cmd.c b/components/finsh/msh_cmd.c index 206b640c16..cc8b2dce0a 100644 --- a/components/finsh/msh_cmd.c +++ b/components/finsh/msh_cmd.c @@ -280,6 +280,7 @@ FINSH_FUNCTION_EXPORT_ALIAS(cmd_time, __cmd_time, Execute command with time.); int cmd_free(int argc, char** argv) { extern void list_mem(void); + extern void list_memheap(void); #ifdef RT_USING_MEMHEAP_AS_HEAP list_memheap();