summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-08-05 18:29:02 +0800
committerBernard Xiong <[email protected]>2015-08-05 18:29:02 +0800
commit5ccbf073ccc0bac937bd1f4ff63b689a362b372c (patch)
tree01b811df9b24e976a9abefc5bb6a9d5832b0130a
parent182f1b0ca3f5da4e0ff1ac241d8543e01375954d (diff)
parentd491b30c35a15c864faf8a754e60b5566234c8de (diff)
Merge pull request #531 from pangweishen/master
[BSP] update the value of DEVICE in rtconfig.py.
-rw-r--r--bsp/stm32f40x/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32f40x/rtconfig.py b/bsp/stm32f40x/rtconfig.py
index d1f081370e..3438597ee6 100644
--- a/bsp/stm32f40x/rtconfig.py
+++ b/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'