]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/tcp3d-lld.git/blob - Settings.xdc.xdt
Test/Example: Re-define some CSL defintions to cover both keystone and keystone2...
[keystone-rtos/tcp3d-lld.git] / Settings.xdc.xdt
1 %%{\r
2 /*!\r
3  *  This template implements the Settings.xdc\r
4  */  \r
5   /* Versioning */\r
6   var ver = this;\r
7   for each(i=0;i<ver.length;i++)\r
8   {\r
9       if(String(ver[i]).length < 2)\r
10       {\r
11         ver[i]="0"+ver[i];\r
12       }\r
13   }\r
14   \r
15   var packageVersion = "\""+ver[0]+"."+ver[1]+"."+ver[2]+"."+ver[3]+"\"";\r
16 \r
17 %%}\r
18 \r
19 module Settings\r
20 {\r
21     config string tcp3dVersionString = `packageVersion`;\r
22     /*! This variable is to control the device type selection.\r
23      * By default this variable is set to NULL.\r
24      * \r
25      * To use TCP3D for the selected device, add the following lines to config\r
26      * file and set the deviceType correctly:\r
27      * \r
28      *      var tcp3d = xdc.useModule ('ti.drv.tcp3d.Settings');\r
29      *      tcp3d.deviceType = "k2k";\r
30      */\r
31     metaonly config string deviceType = "k2k";\r
32 }\r
33 \r