In most cases, you will not create a TDP from scratch but rather base your new TDP on an existing TDP template. In this example, you will adapt an existing TDP gccmingw_template.xdp to your own environment.
The TDP file format is .xdp, as in XML Deployment Port. There are file-naming conventions when creating a new TDP:
c for a C or C++ TDP, j for Java, a for an Ada TDP.
An acronym for the target platform host, in this case call it wingcc for Windows GCC.
The name of the development environment mingw
Therefore, our TDP filename shall be cwingccmingw.
All TDPs are located in the following directory:
where <install_dir> is the installation directory, and <tdp_name> is the name of the TDP.
To start the TDP Editor:
In OneTest Embedded, from the Tools menu, select TDP Editor and Start.
From the command line, type tdpeditor.
To open a TDP template:
In the TDP Editor, from the File menu, select Open.
In the targets subdirectory, select the gccmingw_template.xdp TDP file.
Right click the Top level node in the tree-view pane: Gnu 2.95.3-5 (mingw).
enter a new name for this TDP: My_MinGW.
This name identifies the TDP in the Test RealTime GUI.
In the Comment for the root node section, enter contact information such as your name and email address. This makes things easier when sharing the TDP with other users.
To save the new TDP:
From the File menu, select Save xdp As,
Save your new TDP as cwingccmingw.xdp.
From the File menu, select Save and Generate. The TDP Editor automatically creates a directory named cwingccmingw and all the files required for the TDP in that location.
Move on the next section: Editing a TDP