From: Suman Anna Date: Wed, 30 May 2018 01:18:59 +0000 (-0500) Subject: TEMP: Tests: ping_rpmsg: Override checkFrequency flags X-Git-Tag: 3.50.01.00~6 X-Git-Url: https://git.ti.com/gitweb?p=ipc%2Fipcdev.git;a=commitdiff_plain;h=873f91018fc88983ee6a5ef09fdeb22074e8c3ed;ds=sidebyside TEMP: Tests: ping_rpmsg: Override checkFrequency flags This is a work around to avoid issues with dmtimer. TODO: Need to check with updated build target. Signed-off-by: Suman Anna Signed-off-by: Sam Nelson --- diff --git a/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs b/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs index df402cc..e338de0 100644 --- a/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs +++ b/packages/ti/ipc/tests/ping_rpmsg_common.cfg.xs @@ -225,6 +225,16 @@ else if (Program.platformName.match(/^ti\.platforms\.cortexR:AM65X/) && SysMin.bufSize = 0x8000; Program.sectMap[".tracebuf"] = "TRACE_BUF"; + + var dmTimer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer'); + /* Skip the Timer frequency verification check. Need to remove this later */ + dmTimer.checkFrequency = false; + + /* Match this to the SYS_CLK frequency sourcing the dmTimers. + * Not needed once the appropriate build target is used (Make sure + * SYS/BIOS family settings are updated */ + dmTimer.intFreq.hi = 0; + dmTimer.intFreq.lo = 25000000; }else { throw("ping_rpmsg_common.cfg: Did not match any platform!" + " platform:" + Program.platformName + "cpuCore:"