keil5中error: L6236E: No section matches selector - no section to be FIRST/LAST.报错的解决方法

转载,原文地址:https://blog.csdn.net/qq_27485531/article/details/82891489
在这里插入图片描述
是由于没有加启动文件,双击左边工程框的文件夹,添加Startup开头的.s文件即可。(以stm32f429为例)
在这里插入图片描述
添加好以后再编译就没有报错了,
我用的是GD32F330,经过尝试和这个问题一样,得到了解决
编辑:Eric_anxuanxuan

猜你喜欢

转载自blog.csdn.net/ericanxuanxuan/article/details/99748019