MDK错误More than one section matches selector - cannot all be FIRST/LAST的解决

加入的启动代码为多个,实际只使用其中一个:

       startup_stm32f10x_cl.s

       startup_stm32f10x_hd.s

       ...

       startup_stm32f10x_xl.s

方案1:删除不需要的

方案2:除了实际需要使用的以外,其余全部点右键Options for File'***',勾去灰化的Include in Target Build和Always Build

猜你喜欢

转载自blog.csdn.net/tumblerman/article/details/9353531
今日推荐