blob: 491a1511128378f8f4d9609b4460e5b02f377f7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
%%{
/*!
* This template implements the Settings.xdc
*/
/* Versioning */
var ver = this;
for each(i=0;i<ver.length;i++)
{
if(String(ver[i]).length < 2)
{
ver[i]="0"+ver[i];
}
}
var packageVersion = "\""+ver[0]+"."+ver[1]+"."+ver[2]+"."+ver[3]+"\"";
%%}
module Settings
{
config string tcp3dVersionString = `packageVersion`;
/*! This variable is to control the device type selection.
* By default this variable is set to NULL.
*
* To use TCP3D for the selected device, add the following lines to config
* file and set the deviceType correctly:
*
* var tcp3d = xdc.useModule ('ti.drv.tcp3d.Settings');
* tcp3d.deviceType = "k2k";
*/
metaonly config string deviceType = "k2k";
}
|