DaVinci software is built and packaged using XDC command line tool. It is like other build tools such as ‘make’. XDC builds executables or libraries according to a set of build instructions. It can build for multiple targets at once (e.g. ARM and DSP). XDC can generate code when provided with a configuration script. This feature significantly simplifies building complex executables such as DaVinci Engines and DSP Servers.
Three basic files are required by XDC: package.xdc, package.bld, config.bld (user.bld)
package.xdc describes the package’s: name, dependencies, version, lists of Modules. Example:
package Alg.subAlg.Ti.App [1.0.0]{
}
requires ti.sdo.ce.video;
package Alg.subAlg.Ti.Codec {
module MODULE;
}
package.bld provides package specific build instructions (build script).
config.bld defines platform-wide definitions. Part of example:
Build.targets=[
C64P,
MVArm9
];
No comments:
Post a Comment