From 5b80e102e0f3223dc892efd88f3560b58818270e Mon Sep 17 00:00:00 2001 From: "yungchi@cs.nctu.edu.tw" Date: Tue, 17 Apr 2012 11:22:08 +0000 Subject: [PATCH] update rtconfig.py git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2090 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/stm32f20x/rtconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/stm32f20x/rtconfig.py b/bsp/stm32f20x/rtconfig.py index c083c4370..e7b78f2f7 100644 --- a/bsp/stm32f20x/rtconfig.py +++ b/bsp/stm32f20x/rtconfig.py @@ -13,7 +13,7 @@ if CROSS_TOOL == 'gcc': EXEC_PATH = 'C:/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin' elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' - EXEC_PATH = 'C:/Keil/ARM/BIN40' + EXEC_PATH = 'C:/Keil' elif CROSS_TOOL == 'iar': PLATFORM = 'iar' IAR_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' @@ -47,7 +47,7 @@ if PLATFORM == 'gcc': CFLAGS += ' -O0 -gdwarf-2' AFLAGS += ' -gdwarf-2' else: - CFLAGS += ' -O2' + CFLAGS += ' -O3' POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'