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 nimu_icssVersionString = `packageVersion`;\r
23 \r
24 /*! This variable is to control the device library type selection.\r
25 * By default this variable is set to release.\r
26 * \r
27 * To use NIMU-ICSS to use the debug/release library, add the following lines to config\r
28 * file and set the library profile accordingly:\r
29 * \r
30 * var Nimu_Icss = xdc.loadPackage('ti.transport.ndk.nimu_icss');\r
31 * Nimu_Icss.Settings.libProfile = "debug";\r
32 * \r
33 */\r
34 metaonly config string libProfile = "release"; \r
35 }\r
36 \r