2023-07-04 15:32:46 +03:00
|
|
|
|
|
|
|
|
let common = system.getScript("/common");
|
|
|
|
|
|
|
|
|
|
const topModules_main = [
|
2023-07-13 12:53:20 +03:00
|
|
|
"/position_sense/endat",
|
|
|
|
|
"/position_sense/hdsl",
|
|
|
|
|
"/position_sense/tamagawa",
|
2024-01-04 17:06:21 +03:00
|
|
|
"/pru_icssg/pwm"
|
2023-07-04 15:32:46 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
},
|
|
|
|
|
};
|