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)

ソリューションへジャンプ
1,405件の閲覧回数
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 解決策
626件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

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

Include bin.png

元の投稿で解決策を見る

2 返答(返信)
627件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

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

Include bin.png

626件の閲覧回数
TugboatCaptain
Contributor III

ItsWorking.jpg

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

Cap'n

0 件の賞賛