码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-11-13 17:13:44      阅读:301      评论:0      收藏:0      [点我收藏+]

标签:error   cto   选择   ann   section   对话   启动文件   启动   star   

编译环境:RVMDK

CPU :STM32F103VC

错误:.\obj\movSERVO.sct(7): error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

原因:项目中同时包含以下启动文件,

   startup_stm32f10x_hd.s

        startup_stm32f10x_md.s

        startup_stm32f10x_ld.s

     ......

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

解决办法1:从项目中删除不相关的启动文件

解决办法2:右击不相关的启动文件,点击 options for file ‘startup_stm32f10x_md.s‘...

                在弹出的对话框中的properties页,勾去灰化的‘Include in Target Build‘和‘Always Build’两项。

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

标签:error   cto   选择   ann   section   对话   启动文件   启动   star   

原文地址:https://www.cnblogs.com/Ranger001/p/9952911.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!