]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcbsp-lld.git/blobdiff - Settings.xdc.xdt
Merge pull request #6 in PROCESSOR-SDK/mcbsp-lld from PRSDK-2194 to master
[keystone-rtos/mcbsp-lld.git] / Settings.xdc.xdt
index 60fdf81bf6f750bbc9bc7edddaf8b2c3d8062611..e422bfbe246cb752a66c8592edd22e37606133a7 100644 (file)
 
 module Settings
 {
+    /*! This is the McBSP Version */
     config string mcbspVersionString = `packageVersion`;
+
+    /*! This variable is to control the device type selection.
+     * By default this variable is set to NULL.
+     * 
+     * To use MCBSP for the selected device, add the following lines to config
+     * file and set the deviceType correctly:
+     * 
+     *      var hlink = xdc.useModule ('ti.drv.mcbsp.Settings');
+     *      hlink.deviceType = "k2g";
+     * 
+     * If this is not set, then hyperlink will use device independent
+     * library where user must supply compiled device_mcbsp_loopback.obj
+     */
+    metaonly config string deviceType = "";
+
+        /*! 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 mcbspSettings = xdc.useModule ('ti.mcbsp.Settings');
+     *      mcbspSettings.libProfile = "debug";
+     *
+     */
+    metaonly config string libProfile = "release";
 }