summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDUXin-ece <[email protected]>2020-12-23 14:50:47 +0800
committerDUXin-ece <[email protected]>2020-12-23 14:50:47 +0800
commit9626515787f0f7adf26f807f96a241777adba232 (patch)
tree6e78f278dfc7af232f9c8064cf8427e8ea0a9d16
parent10823e54b418e262cbb6578e63a4de8f98557b79 (diff)
修正stm32f746-disco和FPU相关的flag错误
-rw-r--r--bsp/stm32/stm32f746-st-disco/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32/stm32f746-st-disco/rtconfig.py b/bsp/stm32/stm32f746-st-disco/rtconfig.py
index 32cb0dd9d4..de934eeac7 100644
--- a/bsp/stm32/stm32f746-st-disco/rtconfig.py
+++ b/bsp/stm32/stm32f746-st-disco/rtconfig.py
@@ -42,7 +42,7 @@ if PLATFORM == 'gcc':
OBJCPY = PREFIX + 'objcopy'
STRIP = PREFIX + 'strip'
- DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
+ DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
CFLAGS = DEVICE + ' -g -Wall'
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/link.lds'