- Add PWM syscfg module in motor control section Fixes: PINDSW-7102 Signed-off-by: Achala Ram <a-ram@ti.com>
30 lines
510 B
JavaScript
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;
|
|
},
|
|
};
|