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 McBSP Version */
23 config string mcbspVersionString = `packageVersion`;
25 /*! This variable is to control the device type selection.
26 * By default this variable is set to NULL.
27 *
28 * To use MCBSP for the selected device, add the following lines to config
29 * file and set the deviceType correctly:
30 *
31 * var hlink = xdc.useModule ('ti.drv.mcbsp.Settings');
32 * hlink.deviceType = "k2g";
33 *
34 * If this is not set, then hyperlink will use device independent
35 * library where user must supply compiled device_mcbsp_loopback.obj
36 */
37 metaonly config string deviceType = "";
38 }