From 4362efb32274380d61be0ab79ef3d78c303b651a Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Sat, 18 Feb 2012 03:44:42 +0000 Subject: [PATCH] update lm4f gcc compiler. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1958 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/lm4f232/rtconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/lm4f232/rtconfig.py b/bsp/lm4f232/rtconfig.py index 32abf1f37f..94715db7b2 100644 --- a/bsp/lm4f232/rtconfig.py +++ b/bsp/lm4f232/rtconfig.py @@ -30,10 +30,10 @@ if PLATFORM == 'gcc': OBJDUMP = PREFIX + 'objdump' OBJCPY = PREFIX + 'objcopy' - DEVICE = ' -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections' - CFLAGS = DEVICE + DEVICE = ' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections' + CFLAGS = DEVICE AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-stm32.map,-cref,-u,Reset_Handler -T stm32_rom.ld' + LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-stm32.map,-cref,-u,Reset_Handler -T lm4f_rom.ld' CPATH = '' LPATH = '' -- GitLab