Editing a TDP

The TDP Editor is made up of four main sections:

In the Navigation Tree, you can click on any customization point to obtained detailed reference information for that parameter in the Help Window.

The Navigation Tree covers all the customization points of the TDP. There are four main sections:

On the right hand side of the TDP Editor window, the embedded Help provides contextual reference information for the part of the TDP that is selected in the tree-view pane.

To Edit the new TDP:

Use the TDP Editor's tree pane to navigate through the customization points of the TDP, and make the following changes:

  1. Under Basic Settings: Change the ENV_PATH and STD_INCLUDE customization points in both the For C and For C++ nodes. ENV_PATH updates the PATH environment variable in order to invoke the gcc compiler directly. STD_INCLUDE specifies the location of the standard GCC libraries. For example:

ENV_PATH           "C:\Gcc\bin";$ENV{'PATH'}

STD_INCLUDE        "C:\Gcc\lib"

 

Note   When you change a customization point in the TDP Editor, it is generally a good idea to add a note in the Comment box. This makes later modification and TDP sharing much easier.

  1. In the same manner, check all the other Basic Settings customization points to ensure that they reflect the correct paths and filenames used with the MinGW distribution.

  1. Under Build Settings: No changes should be required here,  but have a look at the Compilation Function.
    Locate the corresponding Perl script and have a look at the Help window to understand how the atl_cc routine works.
    Next, look at the Link Function to understand the alt_link Perl routine.

Note   All the parameters used by these Perl routines are set in the Basic Settings section of the TDP.

  1. Under Library Settings: No changes are required at this point.

  2. Under Parser Settings: In this section, you must tell the Test RealTime code parser where the std GCC libraries are located. Do this as required for each of the features that you plan to use with this TDP.

  3. Save the TDP.

Any changes made to the Basic Settings section of a TDP are read from the OneTest Embedded GUI and applied to the project. For this reason, whenever you modify the Basic Settings of a TDP that is currently used in a OneTest Embedded project, you must reload the TDP into the project.

To reload the TDP in OneTest Embedded:

  1. In the From the Project menu, select Configurations.

  2. Select the TDP and click Remove.

  3. Click New, select the TDP and click OK.

You have created your first TDP. The next step is to validate the new TDP in OneTest Embedded.