summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2018-08-17 12:05:16 -0400
committerSam Nelson <sam.nelson@ti.com>2018-08-22 12:38:32 -0400
commit32294eb80e9889ba12d0c008b21acab4545713af (patch)
tree9169a19d1858374f7f6eb1646348645ccc74778d
parent5c873e76a6bd6e2fe433101081645cd5c19604b4 (diff)
downloadipc-32294eb80e9889ba12d0c008b21acab4545713af.tar.gz
tests: Add idle function to test code3.50.01.00C
This is to plug in function to handle idle state Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r--packages/ti/ipc/tests/messageq_common.cfg.xs4
-rw-r--r--packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs5
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:"