首页 > 代码库 > error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
编译环境: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.
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。