浏览代码

Merge pull request #531 from pangweishen/master

[BSP] update the value of DEVICE in rtconfig.py.
Bernard Xiong 9 年之前
父节点
当前提交
5ccbf073cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'