fix compile warning and error

This commit is contained in:
Bernard Xiong 2013-03-04 06:58:05 -08:00
parent de569ec8e7
commit c5d5a54c5d
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@
#define RT_USING_MEMPOOL #define RT_USING_MEMPOOL
/* Using Dynamic Heap Management */ /* Using Dynamic Heap Management */
/* #define RT_USING_HEAP */ #define RT_USING_HEAP
/* Using Small MM */ /* Using Small MM */
#define RT_USING_SMALL_MEM #define RT_USING_SMALL_MEM

View File

@ -11,7 +11,7 @@ if os.getenv('RTT_CC'):
if CROSS_TOOL == 'gcc': if CROSS_TOOL == 'gcc':
PLATFORM = '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': elif CROSS_TOOL == 'keil':
print '================ERROR============================' print '================ERROR============================'
print 'Not support keil yet!' print 'Not support keil yet!'
@ -56,4 +56,4 @@ else:
RT_USING_MINILIBC = True RT_USING_MINILIBC = True
DUMP_ACTION = OBJDUMP + ' -D -S $TARGET > rtt.asm\n' DUMP_ACTION = OBJDUMP + ' -D -S $TARGET > rtt.asm\n'
COPY_ACTION = 'copy rtthread.bin usbboot\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'