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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,371 Views
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

 

Labels (1)
1 Solution
592 Views
TICS_Fiona
NXP Employee
NXP Employee

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

Include bin.png

View solution in original post

2 Replies
593 Views
TICS_Fiona
NXP Employee
NXP Employee

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

Include bin.png

592 Views
TugboatCaptain
Contributor III

ItsWorking.jpg

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

Cap'n

0 Kudos