summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b5098f)
raw | patch | inline | side by side (parent: 9b5098f)
author | Frank Livingston <frank-livingston@ti.com> | |
Mon, 30 Oct 2017 21:24:56 +0000 (16:24 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Mon, 30 Oct 2017 21:24:56 +0000 (16:24 -0500) |
index a68615b440dd862fb0027ddc8e70edea68a0a69a..17a779835e235408948536518d81894683b80b23 100644 (file)
--- a/pasdk/test_arm/.cproject
+++ b/pasdk/test_arm/.cproject
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES.111979217" name="Java properties (-D)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES" valueType="stringList">
<listOptionValue builtIn="false" value="xdc.platform.custom.check=false"/>
<listOptionValue builtIn="false" value="ProjName=pa_i13_evmk2g_arm"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES.111979217" name="Java properties (-D)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES" valueType="stringList">
<listOptionValue builtIn="false" value="xdc.platform.custom.check=false"/>
<listOptionValue builtIn="false" value="ProjName=pa_i13_evmk2g_arm"/>
+ <listOptionValue builtIn="false" value="HsDevBuild=1"/>
</option>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
</option>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="application/app_noip.cmd|66AK2Gxx.lds|application/app_dtsx.cmd|application/src|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="application/src|application/app_noip.cmd|66AK2Gxx.lds|application/app_dtsx.cmd|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</sourceEntries>
</configuration>
</storageModule>
</toolChain>
</folderInfo>
<sourceEntries>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="application/app_pkgs.cmd|application/src|src|66AK2Gxx.lds" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="application/src|application/app_pkgs.cmd|src|66AK2Gxx.lds" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</sourceEntries>
</configuration>
</storageModule>
</toolChain>
</folderInfo>
<sourceEntries>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="application/app_noip.cmd|66AK2Gxx.lds|application/app_dtsx.cmd|application/app_pkgs.cmd|application/src|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="application/src|application/app_noip.cmd|66AK2Gxx.lds|application/app_dtsx.cmd|application/app_pkgs.cmd|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</sourceEntries>
</configuration>
</storageModule>
</toolChain>
</folderInfo>
<sourceEntries>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="application/app_dtsx.cmd|66AK2Gxx.lds|application/app_dh.cmd|application/app.cmd|application/src|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="application/src|application/app_dtsx.cmd|66AK2Gxx.lds|application/app_dh.cmd|application/app.cmd|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</sourceEntries>
</configuration>
</storageModule>
</toolChain>
</folderInfo>
<sourceEntries>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="application/app_dtsx.cmd|66AK2Gxx.lds|application/app_dh.cmd|application/app.cmd|application/app_pkgs.cmd|application/src|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="application/src|application/app_dtsx.cmd|66AK2Gxx.lds|application/app_dh.cmd|application/app.cmd|application/app_pkgs.cmd|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</sourceEntries>
</configuration>
</storageModule>
</toolChain>
</folderInfo>
<sourceEntries>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="application/app_dh.cmd|66AK2Gxx.lds|application/app_dtsx.cmd|application/src|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="application/src|application/app_dh.cmd|66AK2Gxx.lds|application/app_dtsx.cmd|src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</sourceEntries>
</configuration>
</storageModule>
index b3f81d2a1bc381562ed59fb38c5253dc47a0a297..18e3294b669ba5b3347e55a701c4f3ee9b70127f 100644 (file)
xdc.useModule('ti.sdo.utils.MultiProc');
xdc.useModule('ti.sdo.utils.MultiProc');
-/* Added Per Recommendation from CATAPPS-171 */
-var gicHwi = xdc.useModule('ti.sysbios.family.arm.gic.Hwi');
-gicHwi.enableSecureMode = false;
-gicHwi.BPR = 3;
-gicHwi.NUM_PRIORITY_BITS = 4;
+
+var HsDevBuild = environment["HsDevBuild"];
+var hsDevBuild = (HsDevBuild == "1" ? true : false);
+if (hsDevBuild == true)
+{
+ /* Added per recommendation from CATAPPS-171 */
+ /* HS device build */
+ var gicHwi = xdc.useModule('ti.sysbios.family.arm.gic.Hwi');
+ gicHwi.enableSecureMode = false;
+ gicHwi.BPR = 3;
+ gicHwi.NUM_PRIORITY_BITS = 4;
+}
/*
* ======== IPC Configuration ========
/*
* ======== IPC Configuration ========
var ProjName = environment["ProjName"];
var topo = ProjName.replace( /pa_([a-z])[0-9]+_.*/, "$1");
var ProjName = environment["ProjName"];
var topo = ProjName.replace( /pa_([a-z])[0-9]+_.*/, "$1");
-var AudioClockSim = environment["AudioClockSim"];
-var acSimBuild = (AudioClockSim == "1" ? true : false);
-
-if (acSimBuild == true)
-{
- //
- // IPC simulation
- //
-
- /* Add timer to simulate Rx audio IPC message */
- var timer0Params = new Timer.Params();
- timer0Params.instance.name = "timerRxAudio";
- timer0Params.period = 5330;
- timer0Params.startMode = xdc.module("ti.sysbios.interfaces.ITimer").StartMode_USER;
- Program.global.timerRxAudio = Timer.create(1, null, timer0Params);
-
- /* Add timer to simulate Tx audio IPC message */
- var timer1Params = new Timer.Params();
- timer1Params.instance.name = "timerTxAudio";
- timer1Params.startMode = xdc.module("ti.sysbios.interfaces.ITimer").StartMode_USER;
- timer1Params.period = 5330;
- Program.global.timerTxAudio = Timer.create(2, null, timer1Params);
-
- /* Add semaphore for Rx audio DMA */
- var semaphore0Params = new Semaphore.Params();
- semaphore0Params.instance.name = "semaphoreRxAudio";
- Program.global.semaphoreRxAudio = Semaphore.create(null, semaphore0Params);
-
- /* Add semaphore for Tx audio DMA */
- var semaphore1Params = new Semaphore.Params();
- semaphore1Params.instance.name = "semaphoreTxAudio";
- Program.global.semaphoreTxAudio = Semaphore.create(null, semaphore1Params);
-}
/* Set default stack size for tasks */
Task.defaultStackSize = 2048;
/* Set default stack size for tasks */
Task.defaultStackSize = 2048;
index 3d256b1ff806a393bbc9fc45e033a407cb11f3e4..50c5ed0e0d1565a1ba51b00314c0412bbe1c8b16 100644 (file)
--- a/pasdk/test_dsp/.cproject
+++ b/pasdk/test_dsp/.cproject
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES.1168868732" name="Java properties (-D)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES" valueType="stringList">
<listOptionValue builtIn="false" value="xdc.platform.custom.check=false"/>
<listOptionValue builtIn="false" value="ProjName=pa_i13_evmk2g_c66x"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES.1168868732" name="Java properties (-D)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.JAVA_PROPERTIES" valueType="stringList">
<listOptionValue builtIn="false" value="xdc.platform.custom.check=false"/>
<listOptionValue builtIn="false" value="ProjName=pa_i13_evmk2g_c66x"/>
+ <listOptionValue builtIn="false" value="HsDevBuild=1"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.596568674" name="Additional compiler options (--compileOptions)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" value=""-g --optimize_with_debug"" valueType="string"/>
</tool>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.596568674" name="Additional compiler options (--compileOptions)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" value=""-g --optimize_with_debug"" valueType="string"/>
</tool>
index d51836407efc2ae6a5d1c88c6bb5dc5bf377b59f..deae0a131103603b7677684c4460684c41a4b7fa 100644 (file)
/*
* Build a custom SYS/BIOS library from sources.
/*
* Build a custom SYS/BIOS library from sources.
- * Added per recommendation from CATAPPS-171
*/
*/
-BIOS.useSK = true;
-BIOS.setupSecureContext = true;
-//BIOS.libType = BIOS.LibType_Custom;BIOS.libType = (RB ? BIOS.LibType_NonInstrumented : BIOS.LibType_Instrumented);
- BIOS.libType = BIOS.LibType_Custom;
-// BIOS.libType = BIOS.LibType_Debug;
+var HsDevBuild = environment["HsDevBuild"];
+var hsDevBuild = (HsDevBuild == "1" ? true : false);
+if (HsDevBuild == true)
+{
+ /* HS device build */
+ /* Added per recommendation from CATAPPS-171 */
+ BIOS.useSK = true;
+ BIOS.setupSecureContext = true;
+ BIOS.libType = BIOS.LibType_Custom;
+}
+else
+{
+ /* GP device build */
+ BIOS.libType = BIOS.LibType_Custom;BIOS.libType = (RB ? BIOS.LibType_NonInstrumented : BIOS.LibType_Instrumented);
+ //BIOS.libType = BIOS.LibType_Debug;
+}
+
+//BIOS.useSK = true;
+//BIOS.setupSecureContext = true;
+////BIOS.libType = BIOS.LibType_Custom;BIOS.libType = (RB ? BIOS.LibType_NonInstrumented : BIOS.LibType_Instrumented);
+//BIOS.libType = BIOS.LibType_Custom;
+//// BIOS.libType = BIOS.LibType_Debug;
/* System stack size (used by ISRs and Swis) */
Program.stack = 0x2000;
/* System stack size (used by ISRs and Swis) */
Program.stack = 0x2000;