add binary file to codewarrior project

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

add binary file to codewarrior project

跳至解决方案
1,708 次查看
李志權
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

标签 (1)
0 项奖励
回复
1 解答
1,528 次查看
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 项奖励
回复
4 回复数
1,528 次查看
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 项奖励
回复
1,528 次查看
李志權
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 项奖励
回复
1,529 次查看
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 项奖励
回复
1,528 次查看
Rick_Li
NXP Employee
NXP Employee

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

0 项奖励
回复