Include binary (.bin) file via LCF, cannot find file (CW10.3, Kinetis, Freescale toolchain)

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

Include binary (.bin) file via LCF, cannot find file (CW10.3, Kinetis, Freescale toolchain)

跳至解决方案
2,282 次查看
TugboatCaptain
Contributor III

This topic has lots of traffic but no workable solutions that I have found in the forums or help or docs.

 

In short, the INCLUDE command in the LCF can never find the file no matter where I add the file to the project.

 

It is simple to repeat, just create a new CW10.3 Kinetis bare board project and add "INCLUDE bootloader.bin" to any section in the lcf. Then add the bootloader.bin file to the project via right click, add files... (file contents does not matter).  On build you get this error:

 

>Linker command file error at line 24

>File not found: bootloader.bin

 

I have put the file in nearly every referenced directory of the project and it can never find it.

 

Any ideas?

 

Thanks,

Cap'n

 

标签 (1)
1 解答
1,503 次查看
TICS_Fiona
NXP Employee
NXP Employee

Please check whether you have added the (.bin) file in Linker Input Settings.

Include bin.png

在原帖中查看解决方案

2 回复数
1,504 次查看
TICS_Fiona
NXP Employee
NXP Employee

Please check whether you have added the (.bin) file in Linker Input Settings.

Include bin.png

1,503 次查看
TugboatCaptain
Contributor III

ItsWorking.jpg

Thanks Fiona, answer is right on.  Have an upvote.

Cap'n

0 项奖励
回复