Unknowingly removed build tick mark of a .h file of bsp how to make it back(Code warrior 10.4)

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

Unknowingly removed build tick mark of a .h file of bsp how to make it back(Code warrior 10.4)

766 次查看
vysakh
Contributor I

While building my bsp in Code warrior 10.4 unknowingly removed build tick mark from some of the .h file as showed in the attached picture, that check box also disappeared. how to make it back...please help

标签 (1)
标记 (1)
0 项奖励
3 回复数

683 次查看
vysakh
Contributor I

Dear Erich, There is no ->Resource configuration option for .h files in code warrior (on right clicking)...for .c files option is available on right click..what to do for .h file?...my actual question...:smileyhappy:

0 项奖励

683 次查看
BlackNight
NXP Employee
NXP Employee

Hmm, I have no 10.4 as this one is very old (I'm using the actual version 10.6, and here that menu exists).

Is there a special reason why you are still at 10.4?

You might then need to modify the .cproject file with a text editor (make sure you make a backup). Otherwise: simply ignore that .h files are excluded, they do not have an impact on your build anyway as outlined in the above article.

I hope this helps,

Erich

0 项奖励

683 次查看
BlackNight
NXP Employee
NXP Employee

If header files are excluded, no worries: they are still used by the .c files.

See Exclude Source Files from Build in Eclipse | MCU on Eclipse

Right-click on the file, select menu Resource  configuration > Exclude from build:

pastedImage_0.png

Then uncheck it:

pastedImage_1.png

I hope this helps,

Erich

0 项奖励