From c5d5a54c5d4807e336bce809e9f5097072525d3c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Mon, 4 Mar 2013 06:58:05 -0800 Subject: [PATCH] fix compile warning and error --- bsp/jz47xx/rtconfig.h | 2 +- bsp/jz47xx/rtconfig.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/jz47xx/rtconfig.h b/bsp/jz47xx/rtconfig.h index 5480213c6b..d1457c486b 100644 --- a/bsp/jz47xx/rtconfig.h +++ b/bsp/jz47xx/rtconfig.h @@ -49,7 +49,7 @@ #define RT_USING_MEMPOOL /* Using Dynamic Heap Management */ -/* #define RT_USING_HEAP */ +#define RT_USING_HEAP /* Using Small MM */ #define RT_USING_SMALL_MEM diff --git a/bsp/jz47xx/rtconfig.py b/bsp/jz47xx/rtconfig.py index f5a349e349..9812efffc3 100644 --- a/bsp/jz47xx/rtconfig.py +++ b/bsp/jz47xx/rtconfig.py @@ -11,7 +11,7 @@ if os.getenv('RTT_CC'): if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' - EXEC_PATH = 'E:/Program Files/CodeSourcery/Sourcery G++ Lite/bin' + EXEC_PATH = '/home/bernard/workspace/jz/mips-2011.09/bin' elif CROSS_TOOL == 'keil': print '================ERROR============================' print 'Not support keil yet!' @@ -56,4 +56,4 @@ else: RT_USING_MINILIBC = True DUMP_ACTION = OBJDUMP + ' -D -S $TARGET > rtt.asm\n' COPY_ACTION = 'copy rtthread.bin usbboot\n' -POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n' + COPY_ACTION +POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'