Target Data Files (tdt)

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

Target Data Files (tdt)

5,180 Views
GonzaloVictorio
Contributor I
Hello,
 
Does anyone knows what is exactly saved in the target data files?
 
Thank you!
 
(CW ----> HC08 5.1)
Labels (1)
Tags (1)
0 Kudos
Reply
9 Replies

1,933 Views
CompilerGuru
NXP Employee
NXP Employee
no, not exactly.
I think it contains information like the file modification dates used when compiling the source files, file dependency information, browse information and other target specific data. You can delete them if you want, rebuilding is all it takes to recreate them.
For HC08 they do not contain the object file content as for other CW versions like CF.
They do not contain any really valuable configuration data like options, that is all stored in the mcp's.

Why do you ask?

Daniel
0 Kudos
Reply

1,933 Views
GonzaloVictorio
Contributor I
I read a post in the forum that talked about what files to put under source control and what others don't and all the settings appeared to be set in the mcp project file.
 
In a project I have, those .tdt files where under source control but I had realized that they were generated again with every build and after reading the source control post here decide to take them off.
 
Basically I asked just for curiosity... In the past I though I'd had a problem not having those files under S.C. but I must've been confused... was in the first days of using CW.
 
Thank you!
0 Kudos
Reply

1,933 Views
CrasyCat
Specialist III
Hello
 
I would not recommend putting those .tdt file under version control.
Anything stored in that file will be reconstructed next time you build the application.
 
Additionally the .tdt file also contains full paths to the source and include files. If you put them under VCS you have to make sure you install everything in the same location otherwise those .tdt file might get you into trouble :smileywink:
 
CrasyCat
0 Kudos
Reply

1,933 Views
GonzaloVictorio
Contributor I
And what about the CWSettingsWindows.stg, what information is saved into that file?
 
I noticed that It is modified when removing files from the project.
 
Thank you!
0 Kudos
Reply

1,933 Views
CrasyCat
Specialist III
Hello
 
As far as I can tell this file contains display settings for the .mcp window.
Which groups (folder) should be expanded, and other internal settings. You do not need to store that one either.
 
CrasyCat
0 Kudos
Reply

1,933 Views
GonzaloVictorio
Contributor I
We had that file under source control and we had a problem...
 
If somebody else modifies the .mcp project file and removes some files it would create a "Rescued Items" problem with the project the next time it is oppened and CW would not be able to delete these items unless the .stg file is not write-protected.
 
Not having the .stg under source control makes me wonder what will happen when files are deleted and other people get latest version of the project... wouldn't it cause the same problem again?
 
Thank you,
0 Kudos
Reply

1,933 Views
CrasyCat
Specialist III
Hello
 
Should not.
The list of source files present in the project is stored in the .mcp file.
You do not need to place the stg file in VCS.
 
CrasyCat
0 Kudos
Reply

1,933 Views
JPB_plxs
Contributor I
Apparently, the .stg file contains the current CPU that is selected under the Processor Expert tab; discovered this by deleting it and then opening the project that used it.
 
So, that may be a candidate for version control.
 
0 Kudos
Reply

1,933 Views
CrasyCat
Specialist III
Hello
 
The CPU selected in ProcessorExpert for your project is stored in the .pe file.
The .stg file does not know (or store) anything about Processor Expert.
 
 
CrasyCat
0 Kudos
Reply