]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blobdiff - packages/ti/ipc/tests/Ipu1Smp.cfg
Add Deh & Watchdog config for Vayu DSP1 and IPU1 in tests config
[ipc/ipcdev.git] / packages / ti / ipc / tests / Ipu1Smp.cfg
index 2e78edaf7399a745271cc82929386201cab47fe9..919bdb502b798cea9b4e214f305c5b48bf2ea81f 100644 (file)
@@ -72,12 +72,26 @@ Idle.addCoreFunc('&VirtQueue_cacheWb', 1);
 var Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
 Hwi.enableException = true;
 
-//var Deh = xdc.useModule('ti.deh.Deh');
+var Deh = xdc.useModule('ti.deh.Deh');
+
+var WD = xdc.useModule('ti.deh.Watchdog');
+WD.timerIds.length = 2;
+WD.timerSettings.length = 2;
+WD.timerIds[0] = "GPTimer7";
+WD.timerSettings[0].intNum = 60;
+WD.timerSettings[0].eventId = -1;
+WD.timerIds[1] = "GPTimer8";
+WD.timerSettings[1].intNum = 61;
+WD.timerSettings[1].eventId = -1;
+
+var Xbar = xdc.useModule('ti.sysbios.family.shared.vayu.IntXbar');
+Xbar.connectIRQMeta(60, 38);
+Xbar.connectIRQMeta(61, 39);
 
 /* Watchdog detection functions in each core */
 /* Must be placed before pwr mgmt */
-//Idle.addCoreFunc('&ti_deh_Deh_idleBegin', 0);
-//Idle.addCoreFunc('&ti_deh_Deh_idleBegin', 1);
+Idle.addCoreFunc('&ti_deh_Deh_idleBegin', 0);
+Idle.addCoreFunc('&ti_deh_Deh_idleBegin', 1);
 
 /* Idle Power Management functions for each core */
 Idle.addCoreFunc('&IpcPower_idle', 0); /* IpcPower_idle must be at the end */