硬汉嵌入式论坛

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

[开发工具] STM32H743II Keil编译报错L6235E: More than one section matches selector - cannot all be FIRST/LAST

[复制链接]

10

主题

29

回帖

59

积分

初级会员

积分
59
发表于 2021-1-26 11:55:30 | 显示全部楼层 |阅读模式
STM32H743II Keil编译
threadx + netxdou 报下面的错,IAR没报错,但是IAR调试可以,断电在上电不能自动运行,,,

这个是keil编译信息
linking...
.\stm32-v7.sct(7): error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\Objects\APP.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:02:19

回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
107049
QQ
发表于 2021-1-26 12:09:21 | 显示全部楼层
FIRST/LAST是因为你重复添加启动代码造成的。
回复

使用道具 举报

10

主题

29

回帖

59

积分

初级会员

积分
59
 楼主| 发表于 2021-1-26 12:40:05 | 显示全部楼层
eric2013 发表于 2021-1-26 12:09
FIRST/LAST是因为你重复添加启动代码造成的。

找到重复的部分了。这个tx_initialize_low_level.s与startup_stm32h743xx.s启动部分类容重复。
tx_initialize_low_level.s这个文件是threadx-6.1.2_rel这个路径拷出来的,6.1.2版本好像和以前的不一样。
2.png
1.png
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-15 14:55 , Processed in 0.250541 second(s), 28 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

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