1 \r
2 %%{\r
3 /*!\r
4 * This template implements the Settings.xdc\r
5 */ \r
6 /* Versioning */\r
7 var ver = this;\r
8 for each(i=0;i<ver.length;i++)\r
9 {\r
10 if(String(ver[i]).length < 2)\r
11 {\r
12 ver[i]="0"+ver[i];\r
13 }\r
14 }\r
15 \r
16 var packageVersion = "\""+ver[0]+"."+ver[1]+"."+ver[2]+"."+ver[3]+"\"";\r
17 \r
18 %%}\r
19 \r
20 module Settings\r
21 {\r
22 config string rmVersionString = `packageVersion`;\r
23 \r
24 /*! This variable is to control the device type selection.\r
25 * By default this variable is set to NULL.\r
26 * \r
27 * To use RM for the selected device, add the following lines to config\r
28 * file and set the deviceType correctly:\r
29 * \r
30 * var rm = xdc.useModule ('ti.drv.rm.Settings');\r
31 * rm.deviceType = "k2k";\r
32 * \r
33 * If this is not set, then hyperlink will use device independent\r
34 * library where user must supply compiled qmss_device.obj\r
35 */\r
36 metaonly config string deviceType = "";\r
37 }\r
38 \r