Browse Source

[BSP] update the value of DEVICE in rtconfig.py.

pangwei 9 years ago
parent
commit
d491b30c35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32f40x/rtconfig.py

+ 1 - 1
bsp/stm32f40x/rtconfig.py

@@ -64,7 +64,7 @@ elif PLATFORM == 'armcc':
     LINK = 'armlink'
     LINK = 'armlink'
     TARGET_EXT = 'axf'
     TARGET_EXT = 'axf'
 
 
-    DEVICE = ' --cortex-m4.fp'
+    DEVICE = ' --cpu=cortex-m4.fp'
     CFLAGS = DEVICE + ' --apcs=interwork -DUSE_STDPERIPH_DRIVER -DSTM32F40_41xxx'
     CFLAGS = DEVICE + ' --apcs=interwork -DUSE_STDPERIPH_DRIVER -DSTM32F40_41xxx'
     AFLAGS = DEVICE
     AFLAGS = DEVICE
     LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct'
     LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct'