]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/emac/Settings.xdc.xdt
Merge pull request #31 in PROCESSOR-SDK/pdk from prsdk-7319 to master
[processor-sdk/pdk.git] / packages / ti / drv / emac / 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     /*! This is the EMAC Version */
23     config string emaclldVersionString = `packageVersion`;
25     /*! This variable is to control the device type selection.
26      * By default this variable is set to NULL.
27      * 
28      * To use EMAC for the selected device, add the following lines to config
29      * file and set the socType correctly:
30      * 
31      *      var emacSettings = xdc.useModule ('ti.drv.emac.Settings');
32      *      emacSettings.socType = "k2g";
33      * 
34      */
35     metaonly config string socType = "";
36     /*! This flag is used to indicate whether or not the benchmarking code
37      * (defined in the profilingHooks class) will be used in the project.
38      * Note that a separate library has been compiled and will be used
39      * ($NAME).profiling.a($SUFFIX). This is set in the *.cfg file.
40      */
41     config Bool enableProfiling = false;
42     /*! This variable is to control the device library type selection.
43      * By default this variable is set to release.
44      * 
45      * To use CSL to use the debug/release library, add the following lines to config
46      * file and set the library profile accordingly:
47      * 
48      *      var Uart Settings = xdc.useModule ('ti.Uart.Settings');
49      *      UartSettings.libProfile = "debug";
50      * 
51      */
52     metaonly config string libProfile = "release";      
53 }