[processor-sdk/performance-audio-sr.git] / psdk_cust / pdk_k2g_1_0_1_1_eng / packages / ti / csl / Settings.xdc.xdt
2 %%{
3 /*!
4 * This template implements the Settings.xdc
5 */
6 /* Versioning */
7 var ver = this;
8 for each(i=0;i<ver.length;i++)
9 {
10 if(String(ver[i]).length < 2)
11 {
12 ver[i]="0"+ver[i];
13 }
14 }
16 var packageVersion = "\""+ver[0]+"."+ver[1]+"."+ver[2]+"."+ver[3]+"\"";
18 %%}
20 module Settings
21 {
22 /*! This is the CSL Version */
23 config string cslVersionString = `packageVersion`;
25 /*! The flag is used to indicate if the CSL INTC Library needs to be built or not.
26 * This flag is FALSE by default since most operating systems provide INTC support and
27 * do not need to use this library.
28 * To ensure that the INTC library is also returned; add the following lines to the
29 * configuration file
30 *
31 * var cslSettings = xdc.useModule ('ti.csl.Settings');
32 * cslSettings.useCSLIntcLib = true;
33 *
34 */
35 config Bool useCSLIntcLib = false;
37 /*! This variable is to control the device type selection.
38 * By default this variable is set to NULL.
39 *
40 * To use CSL for the selected device, add the following lines to config
41 * file and set the deviceType correctly:
42 *
43 * var cslSettings = xdc.useModule ('ti.csl.Settings');
44 * cslSettings.deviceType = "k2k";
45 *
46 */
47 metaonly config string deviceType = "";
48 }