AnsweredAssumed Answered

How to execute a tool from script

Question asked by Steve_E_B on Feb 18, 2015
Latest reply on Apr 27, 2016 by Kader.M

In particular, I would like to execute vdkgen from a script (executed from the IDDE console window or toolbar button.

I can get the tool object:

var VdkGen = Project.ToolList.Item("VdkGen");

 

I see the type, info, description etc for VdkGen.

what methods are available for VdkGen?

 

Why do I want to do this?

My project must support multiple processor clocks. The script can modify the project.vdk file with the appropriate clock speed.

All I need to do is build the project for each clock.

 

A less desirable way would be to modify the vdk.cpp file

 

Alternatively, Is it possible to automatically run VdkGen when the project.Build method is called?

Outcomes