]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/board/Settings.xdc.xdt
Merge pull request #7 in PROCESSOR-SDK/pdk from am65xx_build_fix to master
[processor-sdk/pdk.git] / packages / ti / board / Settings.xdc.xdt
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   }
15   
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 = "";
24         
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";      
36     
37 }