error: No section matches selector - no section to be FIRST/LAST.

解决方法是:
Options for Target ' xxxx '(右键左边框的target 1项就能看到),里面的Linker选项下面: 
1、去掉勾选 Use Memory Layout from Target Dialog 
2、清空 Scatter File里面的内容 
点确定,okay了

猜你喜欢

转载自blog.csdn.net/zhengmilian5572/article/details/84619497