motor-control-sdk/source/position_sense/endat/.project/project_am64x.js
Naresh A 206f344bd1 am64x/am243x/am263x : remove motor_control folder from the repository
remove motor_control folder from the repository

Fixes: PINDSW-5635

Signed-off-by: Naresh A <nareshk@ti.com>
2023-07-13 15:23:20 +05:30

53 lines
1.0 KiB
JavaScript

let path = require('path');
let device = "am64x";
const files = {
common: [
"endat_drv.c",
],
};
const filedirs = {
common: [
"${MOTOR_CONTROL_SDK_PATH}/source/position_sense/endat/driver",
],
};
const includes = {
common: [
"${MOTOR_CONTROL_SDK_PATH}/source/position_sense/endat/include",
],
};
const buildOptionCombos = [
{ device: device, cpu: "r5f", cgt: "ti-arm-clang"},
];
function getComponentProperty() {
let property = {};
property.dirPath = path.resolve(__dirname, "..");
property.type = "library";
property.name = "motorcontrol_endat";
property.isInternal = false;
property.buildOptionCombos = buildOptionCombos;
return property;
}
function getComponentBuildProperty(buildOption) {
let build_property = {};
build_property.files = files;
build_property.filedirs = filedirs;
build_property.includes = includes;
return build_property;
}
module.exports = {
getComponentProperty,
getComponentBuildProperty,
};