PASDK-376:Update build configurations
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / application / app.cfg
index a906e19f1b33a60f788d58f048e53b08cd6f8f5c..14d7e899db0fcb3b7274cf2678e6d2a30e1b885e 100644 (file)
@@ -209,62 +209,41 @@ Hwi.dispatcherAutoNestingSupport = false;
 
 var ProjName = environment["ProjName"];
 var topo = ProjName.replace( /pa_([a-z])[0-9]+_.*/, "$1");
-var RxAlphaSim = environment["RxAlphaSim"];
-var rxAlphaSimBuild = (RxAlphaSim == "1" ? true : false);
 
 var drv             = xdc.loadPackage('ti.sdo.edma3.drv');
 var rm              = xdc.loadPackage ("ti.sdo.edma3.rm");
 var Edma            = xdc.loadPackage ("ti.sdo.edma3.drv.sample");
 var Hwi             = xdc.useModule('ti.sysbios.family.c64p.Hwi');
 
-if (rxAlphaSimBuild == false)
-{
-    var devType = "k2g"
-
-    var CpIntc =   xdc.useModule('ti.sysbios.family.c66.tci66xx.CpIntc');
-
-    /* Load the OSAL package */ 
-    var osType = "tirtos";
-    var Osal = xdc.useModule('ti.osal.Settings');
-    Osal.osType = osType;
-    Osal.socType = devType;
-
-    /* Load the uart package */
-    var Uart = xdc.loadPackage('ti.drv.uart');
-    Uart.Settings.enableProfiling = false;
-    Uart.Settings.socType = devType; 
-    Uart.Settings.useDma = "true";    
-    
-    /* Load the spi package */
-    var Spi = xdc.loadPackage('ti.drv.spi');
-    Spi.Settings.enableProfiling = false;     
-    Spi.Settings.socType = devType;
-    
-    /* Load the i2c package */
-    var I2c = xdc.loadPackage('ti.drv.i2c');
-    I2c.Settings.enableProfiling = false;
-    I2c.Settings.socType = devType;
-    
-    /* Load and use the CSL packages */
-    var Csl = xdc.useModule('ti.csl.Settings');
-    Csl.deviceType = devType;
-}
-else
-{
-    //
-    // Rx alpha commands simulation
-    //
-
-    /* Add clock for Rx alpha commands DMA */
-    var clock0Params = new Clock.Params();
-    clock0Params.instance.name = "clockRxAlpha";
-    Program.global.clockRxAlpha = Clock.create("&clockRxAlphaFxn", 0, clock0Params);
-
-    /* Add semaphore for Rx alpha commands DMA */
-    var semaphore2Params = new Semaphore.Params();
-    semaphore2Params.instance.name = "semaphoreRxAlpha";
-    Program.global.semaphoreRxAlpha = Semaphore.create(null, semaphore2Params);
-}
+var devType = "k2g"
+
+var CpIntc =   xdc.useModule('ti.sysbios.family.c66.tci66xx.CpIntc');
+
+/* Load the OSAL package */ 
+var osType = "tirtos";
+var Osal = xdc.useModule('ti.osal.Settings');
+Osal.osType = osType;
+Osal.socType = devType;
+
+/* Load the uart package */
+var Uart = xdc.loadPackage('ti.drv.uart');
+Uart.Settings.enableProfiling = false;
+Uart.Settings.socType = devType; 
+Uart.Settings.useDma = "true";    
+
+/* Load the spi package */
+var Spi = xdc.loadPackage('ti.drv.spi');
+Spi.Settings.enableProfiling = false;     
+Spi.Settings.socType = devType;
+
+/* Load the i2c package */
+var I2c = xdc.loadPackage('ti.drv.i2c');
+I2c.Settings.enableProfiling = false;
+I2c.Settings.socType = devType;
+
+/* Load and use the CSL packages */
+var Csl = xdc.useModule('ti.csl.Settings');
+Csl.deviceType = devType;
 
 /* Set default stack size for tasks */
 Task.defaultStackSize = 2048;