add binary file to codewarrior project

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

add binary file to codewarrior project

Jump to solution
929 Views
李志權
Contributor II

I have a binary file, want to join the codewarrior project, so, how to add, and how to use?

my cw version is 10.4

Labels (1)
0 Kudos
Reply
1 Solution
749 Views
Rick_Li
NXP Employee
NXP Employee

as we talked on the phone, there is no way in CodeWarrior to add a png image file in the project.

since CodeWarrior can't resolve such a image file.

what you can do is to convert this file to a binary file and add it to project as a header file.

hope it helps!

View solution in original post

0 Kudos
Reply
4 Replies
749 Views
Rick_Li
NXP Employee
NXP Employee

hi,

please let me know your target device!

and how do you want to add the binary file. if you just want to add it to your project as a library, then, just drag and put it in the project folder.

0 Kudos
Reply
749 Views
李志權
Contributor II

My development board is TWR - K60D100 ,

now,I haved put it in the project folder

so ,how to use in my code

2.PNG.png

0 Kudos
Reply
750 Views
Rick_Li
NXP Employee
NXP Employee

as we talked on the phone, there is no way in CodeWarrior to add a png image file in the project.

since CodeWarrior can't resolve such a image file.

what you can do is to convert this file to a binary file and add it to project as a header file.

hope it helps!

0 Kudos
Reply
749 Views
Rick_Li
NXP Employee
NXP Employee

please tell me your phone number, I would like to call you regarding to this issue.

0 Kudos
Reply