1. 使用KEIL MDK ,STM32F405RG,编译的时候报错

.\Objects\ks3620_stm32f405_proj.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.

看下LOG窗口

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

No section matches selector - no section to be FIRST/LAST 随笔 第1张

2. 看下出错的位置

No section matches selector - no section to be FIRST/LAST 随笔 第2张

3. sct文件,全称是scatter file,中文名分散加载文件,上面可以看出IROM就是单片机的 flash区域,IRAM就是单片机的RAM区域。

4. 说是找不到RESET,那么应该是没有添加启动文件

No section matches selector - no section to be FIRST/LAST 随笔 第3张

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄