Ver Fonte

Merge pull request #531 from pangweishen/master

[BSP] update the value of DEVICE in rtconfig.py.
Bernard Xiong há 9 anos atrás
pai
commit
5ccbf073cc
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      bsp/stm32f40x/rtconfig.py

+ 1 - 1
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'