motor-control-sdk/source/.meta/soc/motor_control_am64x.syscfg.js

35 lines
601 B
JavaScript
Raw Normal View History

let common = system.getScript("/common");
const topModules_main = [
"/position_sense/endat",
"/position_sense/hdsl",
"/position_sense/tamagawa",
"/pru_icssg/pwm"
];
const topModules_mcu = [
];
const topModules_a53 = [
];
exports = {
getTopModules: function() {
let topModules = topModules_main;
if(common.getSelfSysCfgCoreName().includes("m4f")) {
topModules = topModules_mcu;
}
if (common.getSelfSysCfgCoreName().match(/a53*/))
{
topModules = topModules_a53;
}
return topModules;
},
};