[finsh] Fix compiling issue in finsh.
This commit is contained in:
parent
ccc89001e5
commit
f8c82b05bb
|
@ -28,10 +28,10 @@ msh.c
|
||||||
|
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
if rtconfig.CROSS_TOOL == 'keil':
|
if rtconfig.CROSS_TOOL == 'keil':
|
||||||
LINKFLAGS = ' --keep __fsym_*'
|
LINKFLAGS = ' --keep *.o(FSymTab)'
|
||||||
|
|
||||||
if not GetDepend('FINSH_USING_MSH_ONLY'):
|
if not GetDepend('FINSH_USING_MSH_ONLY'):
|
||||||
LINKFLAGS = LINKFLAGS + ' --keep __vsym_* '
|
LINKFLAGS = LINKFLAGS + ' --keep *.o(VSymTab) '
|
||||||
else:
|
else:
|
||||||
LINKFLAGS = ''
|
LINKFLAGS = ''
|
||||||
|
|
||||||
|
|
|
@ -280,6 +280,7 @@ FINSH_FUNCTION_EXPORT_ALIAS(cmd_time, __cmd_time, Execute command with time.);
|
||||||
int cmd_free(int argc, char** argv)
|
int cmd_free(int argc, char** argv)
|
||||||
{
|
{
|
||||||
extern void list_mem(void);
|
extern void list_mem(void);
|
||||||
|
extern void list_memheap(void);
|
||||||
|
|
||||||
#ifdef RT_USING_MEMHEAP_AS_HEAP
|
#ifdef RT_USING_MEMHEAP_AS_HEAP
|
||||||
list_memheap();
|
list_memheap();
|
||||||
|
|
Loading…
Reference in New Issue