MDK412建立stm32f103工程编译里出现错误
时间:04-08 10:40 阅读:995次
*温馨提示:点击图片可以放大观看高清大图
简介:MDK412建立stm32f103工程编译里出现 error: L6235E: More than one section matches selector - cannot all be FIRST/LAST错误,网络上教程也很多,我这里把图截上来,也简明。
MDK412建立stm32f103工程编译里出现 error: L6235E: More than one section matches selector - cannot all be FIRST/LAST错误,网络上教程也很多,我这里把图截上来,也简明。

1.查看工程里的几个编程文件

你会发现startup_stm32f10x_cl.s前面的图标和不太一样。原因,网络上说得很多。
2.右击startup_stm32f10x_cls.s这个文件,选择option.....

右边的两个选项include in Target Build和Always Build灰勾去掉。

然后确定,其它几个文件也如这样操作。但是注意保留startup_stm32f10x_xl.s这个文件。
3.更改后的工程文件如下所示:

4.重新clean一下工程,然后rebuild 一下。

通过。。。