解决方法:Keil提示错误信息error: L6235E: Mo

2022-04-02  本文已影响0人  Leung_ManWah

一、问题

编译 GD32F103 自建工程时,报以下错误:

.\Objects\template.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 the image map.
".\Objects\template.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01

二、原因

因为在工程中包含了不只一个启动文件导致的。

项目中同时包含以下启动文件,
startup_gd32f10x_md.s
startup_gd32f10x_hd.s
startup_gd32f10x_ld.s
startup_gd32f10x_cl.s
......

应该针对不同的CPU选择不同的启动文件。

三、解决方法


• 由 Leung 写于 2022 年 4 月 2 日

• 参考:error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

上一篇 下一篇

猜你喜欢

热点阅读