summaryrefslogblamecommitdiffstats
blob: a76484fce1ab8b8dc6cc3bccc43df9fa58e88a05 (plain) (tree)























                                                                         
                                                          








                                                                            
                                             










                                                                            












                                                                                     

 

%%{
/*!
 *  This template implements the Settings.xdc
 */  
  /* Versioning */
  var ver = this;
  for each(i=0;i<ver.length;i++)
  {
      if(String(ver[i]).length < 2)
      {
        ver[i]="0"+ver[i];
      }
  }
  
  var packageVersion = "\""+ver[0]+"."+ver[1]+"."+ver[2]+"."+ver[3]+"\"";

%%}

module Settings
{
    /*! This is the OSAL Version */
    config string osalVersionString = `packageVersion`;

    /*! This variable is to control the Os type selection.
     * By default this variable is set to NULL.
     * 
     * To use CSL for the selected device, add the following lines to config
     * file and set the deviceType correctly:
	 *
     *      var osalSettings = xdc.useModule ('ti.drv.osal.Settings');
     *      osalSettings.osType = "tirtos";
     * 
     */
    metaonly config string osType = "tirtos";
    /*! This variable is to control the SoC type selection.
     * By default this variable is set to NULL.
     * 
     * To use CSL for the selected device, add the following lines to config
     * file and set the deviceType correctly:
	 *
     *      var osalSettings = xdc.useModule ('ti.drv.osal.Settings');
     *      osalSettings.socType = "am572x";
     * 
     */
    metaonly config string socType = "";	
	
    /*! This variable is to control the device library type selection.
     * By default this variable is set to release.
     * 
     * To use CSL to use the debug/release library, add the following lines to config
     * file and set the library profile accordingly:
     * 
     *      var Uart Settings = xdc.useModule ('ti.Uart.Settings');
     *      UartSettings.libProfile = "debug";
     * 
     */
    metaonly config string libProfile = "release";	

}