2 %%{
3 /*!
4 * This template implements the Settings.xdc
5 */
6 /* Versioning */
7 var ver = this;
8 for each(i=0;i<ver.length;i++)
9 {
10 if(String(ver[i]).length < 2)
11 {
12 ver[i]="0"+ver[i];
13 }
14 }
16 var packageVersion = "\""+ver[0]+"."+ver[1]+"."+ver[2]+"."+ver[3]+"\"";
18 %%}
20 module Settings
21 {
22 /*! This is the Fault Management Version */
23 config string fault_mgmtlibVersionString = `packageVersion`;
25 /*! This variable is to control the device type selection.
26 * By default this variable is set to NULL.
27 *
28 * To use FM for the selected device, add the following lines to config
29 * file and set the deviceType correctly:
30 *
31 * var fault_mgmt = xdc.useModule ('ti.instrumentation.fault_mgmt.Settings');
32 * fault_mgmt.deviceType = "tci6614";
33 * OR
34 * fault_mgmt.deviceType = "k2k"; OR "k2h"; OR "k2l"; OR "k2e";
35 */
36 metaonly config string deviceType = "";
37 }