Hi,
I'm searching for a function to add definitions to the compiler.opt file from the SYS/Bios .cfg file.
I tried the following without success:
var Main = xdc.useModule('xdc.tools.configuro.Main');
var params = new Main.Params// Instance config-params object;
params.compileOptions = "-DMYDEFINE";
Is there an other way to insert such definitions into the compiler.opt file, or is something wrong with this code?
Thanking you in anticipation,
Sebastian