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 /*! This is the HYPLNK Version */\r
23 config string hyplnklldVersionString = `packageVersion`;\r
24 \r
25 /*! This variable is to control the device type selection.\r
26 * By default this variable is set to NULL.\r
27 * \r
28 * To use HYPLNK for the selected device, add the following lines to config\r
29 * file and set the deviceType correctly:\r
30 * \r
31 * var hlink = xdc.useModule ('ti.drv.hyplnk.Settings');\r
32 * hlink.deviceType = "k2k";\r
33 * \r
34 * If this is not set, then hyperlink will use device independent\r
35 * library where user must supply compiled hyplnk_device.obj\r
36 */\r
37 metaonly config string deviceType = "";\r
38 }\r
39 \r