motor-control-sdk/.project/genCcsPackageFiles.js
Naresh A 5f968b0bf2 am64x/am243x/am263x : initial commit for motor control sdk
Initial commit for motor control sdk

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-04 18:02:46 +05:30

29 lines
689 B
JavaScript

const common = require(`./common.js`);
function genCcsPackageFilesDevice(device) {
let args = {
device: device,
utils: require(`./genProjectSpec.js`).utils,
common: common,
};
common.convertTemplateToFile(
`.project/templates/package.ccs.json.xdt`,
`.metadata/.tirex/package.ccs.json`,
args);
common.convertTemplateToFile(
`.project/templates/package.tirex.json.xdt`,
`.metadata/.tirex/package.tirex.json`,
args);
common.convertTemplateToFile(
`.project/templates/product.json.xdt`,
`.metadata/product.json`,
args);
}
module.exports = {
genCcsPackageFilesDevice
}