From d491b30c35a15c864faf8a754e60b5566234c8de Mon Sep 17 00:00:00 2001 From: pangwei <271372443@qq.com> Date: Wed, 5 Aug 2015 17:10:49 +0800 Subject: [PATCH] [BSP] update the value of DEVICE in rtconfig.py. --- 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..3438597ee 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'