Skip to content

Commit 8483352

Browse files
committed
Merge pull request #557 from cedar-renjun/patch-1
[BSP] Modify compiler parameter to adjust MDK V4.70 in stm32f40x BSP.
2 parents a3a5840 + 922f69e commit 8483352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/stm32f40x/rtconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
LINK = 'armlink'
6565
TARGET_EXT = 'axf'
6666

67-
DEVICE = ' --cortex-m4.fp'
67+
DEVICE = ' --cpu Cortex-M4.fp'
6868
CFLAGS = DEVICE + ' --apcs=interwork -DUSE_STDPERIPH_DRIVER -DSTM32F40_41xxx'
6969
AFLAGS = DEVICE
7070
LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct'

0 commit comments

Comments
 (0)