diff options
-rw-r--r-- | packages/ti/ipc/tests/messageq_common.cfg.xs | 4 | ||||
-rw-r--r-- | packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/packages/ti/ipc/tests/messageq_common.cfg.xs b/packages/ti/ipc/tests/messageq_common.cfg.xs index a0f7cd2..90222ec 100644 --- a/packages/ti/ipc/tests/messageq_common.cfg.xs +++ b/packages/ti/ipc/tests/messageq_common.cfg.xs @@ -268,6 +268,10 @@ else if (Program.platformName.match(/^ti\.platforms\.cortexR:AM65X/) && Timer.intFreqs[i].hi = 0; } + /* Add idle function */ + xdc.useModule('ti.sdo.ipc.family.am65xx.Power'); + Idle.addFunc('&Power_Idle'); + } else { throw("messageq_common.cfg.xs: Did not match any platform!" diff --git a/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs b/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs index 8e3dea7..a115533 100644 --- a/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs +++ b/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs @@ -240,6 +240,11 @@ else if (Program.platformName.match(/^ti\.platforms\.cortexR:AM65X/) && * SYS/BIOS family settings are updated */ dmTimer.intFreq.hi = 0; dmTimer.intFreq.lo = 25000000; + + /* Add idle function */ + xdc.useModule('ti.sdo.ipc.family.am65xx.Power'); + Idle.addFunc('&Power_Idle'); + }else { throw("ping_rpmsg_common.cfg: Did not match any platform!" + " platform:" + Program.platformName + "cpuCore:" |