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 OSAL Version */
23 config string osalVersionString = `packageVersion`;
25 /*! This variable is to control the Os type selection.
26 * By default this variable is set to NULL.
27 *
28 * To use CSL for the selected device, add the following lines to config
29 * file and set the deviceType correctly:
30 *
31 * var osalSettings = xdc.useModule ('ti.drv.osal.Settings');
32 * osalSettings.osType = "tirtos";
33 *
34 */
35 metaonly config string osType = "tirtos";
36 /*! This variable is to control the SoC type selection.
37 * By default this variable is set to NULL.
38 *
39 * To use CSL for the selected device, add the following lines to config
40 * file and set the deviceType correctly:
41 *
42 * var osalSettings = xdc.useModule ('ti.drv.osal.Settings');
43 * osalSettings.socType = "am572x";
44 *
45 */
46 metaonly config string socType = "";
48 /*! This variable is to control the device library type selection.
49 * By default this variable is set to release.
50 *
51 * To use CSL to use the debug/release library, add the following lines to config
52 * file and set the library profile accordingly:
53 *
54 * var Uart Settings = xdc.useModule ('ti.Uart.Settings');
55 * UartSettings.libProfile = "debug";
56 *
57 */
58 metaonly config string libProfile = "release";
60 }