Not able to add files to project

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

Not able to add files to project

4,060 次查看
SVC1
Contributor I
When trying to add config files (*.cfg, *.mem) to a project, I get the following message: At least one file could not be added to the selected target(s). Any hints on what I am doing wrong? Thanks, Simon
标签 (1)
0 项奖励
回复
1 回复

900 次查看
CompilerGuru
NXP Employee
NXP Employee
First read this:
http://forums.freescale.com/freescale/board/message?board.id=CWCOMM&message.id=3819

While all CW based tools are using the same ide, the build tools setup matters.
Basically in order to add a file to a project (to a build target), its file type has to be defined in the file mappings dialog in the project settings.
For 8/16  bit (HC08/HC12) there is a "match it all" entry at the end, so any files can be added to a project.
But for other cores (and for the HC08/HC12 if the default file mappings have been changed accordingly),
a mapping for every type of file to be added has to be defined.

Daniel
0 项奖励
回复