Skip to content

Commit 922f69e

Browse files
committed
Modify compiler parameter to adjust MDK V4.70
1 parent a3a5840 commit 922f69e

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)