-update documentation -modify evm based examples to use IO breakout board -clean code Fixes: PINDSW-7096 Signed-off-by: Manoj Koppolu <manoj_koppolu@ti.com>
35 lines
601 B
JavaScript
35 lines
601 B
JavaScript
|
|
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;
|
|
},
|
|
};
|