Not able to add files to project

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

Not able to add files to project

3,529 Views
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
Labels (1)
0 Kudos
1 Reply

369 Views
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 Kudos