From 922f69e3631a38f61d547552579a59f64f44b194 Mon Sep 17 00:00:00 2001 From: cedar-renjun <819280802@qq.com> Date: Wed, 30 Sep 2015 21:49:36 +0800 Subject: [PATCH] Modify compiler parameter to adjust MDK V4.70 --- bsp/stm32f40x/rtconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32f40x/rtconfig.py b/bsp/stm32f40x/rtconfig.py index d1f081370..b61799069 100644 --- a/bsp/stm32f40x/rtconfig.py +++ b/bsp/stm32f40x/rtconfig.py @@ -64,7 +64,7 @@ elif PLATFORM == 'armcc': LINK = 'armlink' TARGET_EXT = 'axf' - DEVICE = ' --cortex-m4.fp' + DEVICE = ' --cpu Cortex-M4.fp' CFLAGS = DEVICE + ' --apcs=interwork -DUSE_STDPERIPH_DRIVER -DSTM32F40_41xxx' AFLAGS = DEVICE LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct' -- GitLab