Prechádzať zdrojové kódy

Merge pull request #557 from cedar-renjun/patch-1

[BSP] Modify compiler parameter to adjust MDK V4.70 in stm32f40x BSP.
Bernard Xiong 9 rokov pred
rodič
commit
8483352591
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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'