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 config string boardVersionString = `packageVersion`;
23 config string boardName = "";
25 /*! This variable is to control the device library type selection.
26 * By default this variable is set to release.
27 *
28 * To use CSL to use the debug/release library, add the following lines to config
29 * file and set the library profile accordingly:
30 *
31 * var Uart Settings = xdc.useModule ('ti.Uart.Settings');
32 * UartSettings.libProfile = "debug";
33 *
34 */
35 metaonly config string libProfile = "release";
37 }