Cannot build with Keil uVision5 - error: L6236E

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cannot build with Keil uVision5 - error: L6236E

跳至解决方案
5,853 次查看
danielmilutinov
Contributor III

Hello, 

I've been using MCUXpresso with my IMXRT1050-EVKB board and am very happy with it.

However I would like to use Keil uVision5 sometimes because of the simulator option that enables one to debug code without having to download it to the IMXRT1050-EVKB board. 

I installed uVision5 and the MIMXRT1052_DFP pack:

Image 1.png

 I then started a new project:

Image 2.png

and checked the following options:

Image 3.png

However when I build I get a ".\Objects\v1.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST." error:

Image 4.png

Please help!

0 项奖励
回复
1 解答
5,839 次查看
carstengroen
Senior Contributor II

You need a SCT file (scatter file) for the linker. Look in one of the many Keil samples in the NXP SDK. There are Keil samples for all the examples (if you also selected Keil during the build/download of the SDK

在原帖中查看解决方案

0 项奖励
回复
2 回复数
5,840 次查看
carstengroen
Senior Contributor II

You need a SCT file (scatter file) for the linker. Look in one of the many Keil samples in the NXP SDK. There are Keil samples for all the examples (if you also selected Keil during the build/download of the SDK

0 项奖励
回复
5,821 次查看
danielmilutinov
Contributor III

Thank you, that works nicely!

0 项奖励
回复