硬汉嵌入式论坛

 找回密码
 立即注册
查看: 479|回复: 2
收起左侧

流水灯编译报错问题怎么解决

[复制链接]

1

主题

3

回帖

6

积分

新手上路

积分
6
发表于 2023-10-25 22:23:17 | 显示全部楼层 |阅读模式
Build started: Project: project
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'F:\keil_v5\ARM\ARMCC\Bin'
Build target 'Flash'
*** Scatter Error: no default 'Read/Write' range selected
compiling bsp_timer.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling bsp_key.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_it.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling main.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling bsp_uart_fifo.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling bsp_led.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_assert.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling bsp.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling bsp_ext_io.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_syscfg.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_usart.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_gpio.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling misc.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_rcc.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_fmc.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling stm32f4xx_tim.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
compiling system_stm32f4xx.c...
Warning: C3912W: Option 'device' is deprecated.
Fatal error: C3903U: Argument '--fpu=softvfp+vfpv2' not permitted for option 'device'.
assembling startup_stm32f429_439xx.s...
startup_stm32f429_439xx.s: Warning: A3912W: Option 'device' is deprecated.
startup_stm32f429_439xx.s: error: A3903U: Argument '-g' not permitted for option 'device'.
".\Flash\Obj\output.axf" - 18 Error(s), 18 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106826
QQ
发表于 2023-10-26 07:36:31 | 显示全部楼层
看着像是MDK安装失败了。换个盘符,重新安装换个版本试试。
回复

使用道具 举报

1

主题

3

回帖

6

积分

新手上路

积分
6
 楼主| 发表于 2023-10-26 09:37:59 | 显示全部楼层
好的,之前这个用来编译f103的没问题,买了v6的板子,也安装了f4的库就是编译有错
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-6 03:18 , Processed in 0.157172 second(s), 26 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表