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 fvid2VersionString = `packageVersion`;\r
23 \r
24 /*! This variable is to control the SoC type selection.\r
25 * By default this variable is set to NULL.\r
26 *\r
27 * To use FVID2 for the selected device, add the following lines to config\r
28 * file and set the deviceType correctly:\r
29 *\r
30 * var fvid2Settings = xdc.useModule ('ti.drv.fvid2.Settings');\r
31 * fvid2Settings.socType = "am65x";\r
32 *\r
33 */\r
34 metaonly config string socType = "";\r
35 \r
36 /*! This variable is to control the device library type selection.\r
37 * By default this variable is set to release.\r
38 *\r
39 * To use the debug/release library, add the following lines to config\r
40 * file and set the library profile accordingly:\r
41 *\r
42 * var fvid2 Settings = xdc.useModule ('ti.drv.fvid2.Settings');\r
43 * fvid2Settings.libProfile = "debug";\r
44 *\r
45 */\r
46 metaonly config string libProfile = "release";\r
47 }\r
48 \r