motor-control-sdk/source/.meta/soc/motor_control_am243x.syscfg.js
Achala Ram c4246dd4b9 am243x/am64x: PWM: Add syscfg module
- Add PWM syscfg module in motor control section

Fixes: PINDSW-7102

Signed-off-by: Achala Ram <a-ram@ti.com>
2023-12-21 18:30:04 +05:30

30 lines
510 B
JavaScript

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