]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/sa-lld.git/blob - Settings.xdc.xdt
[PDK-12240] Following warnings are removed from the PDK in this commit
[keystone-rtos/sa-lld.git] / 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 SA Version */
23     config string lldVersionString = `packageVersion`;
25     /*! This variable is to control the device type selection.
26      * By default this variable is set to NULL.
27      * 
28      * To use SA for the selected device, add the following lines to config
29      * file and set the deviceType correctly:
30      * 
31      *      var sa = xdc.useModule ('ti.drv.sa.Settings');
32      *      sa.deviceType = "k2h";
33      * 
34      * If this is not set, then sa will use device independent
35      * library 
36      */
37     metaonly config string deviceType = "";
39     /*! This variable is to control the device library type selection.
40      * By default this variable is set to release.
41      * 
42      * To use the debug/release library, add the following lines to config
43      * file and set the library profile accordingly:
44      *
45      *      var saSettings = xdc.useModule ('ti.drv.sa.Settings');
46      *      saSettings.libProfile = "debug";
47      *
48      * NOTE: This is a new configuration parameter introduced
49      *       starting from am65xx or j721e SOC type and is a don't care for 
50      *       earlier keystone socs.
51      */
52     metaonly config string libProfile = "release";
53 }