PRSDK-3515 Enable board init for example projects
authorSinthu Raja M <x0257345@ti.com>
Wed, 30 May 2018 14:12:57 +0000 (19:42 +0530)
committerSinthu Raja M <x0257345@ti.com>
Wed, 30 May 2018 14:23:08 +0000 (19:53 +0530)
 Enable board library for example projects.

example/c6657/MCBSPDigLpbk/MCBSP_evmc6657_C66DigLpbkExampleProject.txt
example/c6657/MCBSPDigLpbk/mcbspMasterDigLpbk.cfg
example/c674x/MCBSPDigLpbk/MCBSP_DigLpbkC66ExampleProject.txt
example/c674x/MCBSPDigLpbk/mcbspMasterDigLpbk.cfg
example/k2g/MCBSPDigLpbk/MCBSP_DigLpbkevmK2Gc66ExampleProject.txt
example/k2g/MCBSPDigLpbk/mcbspMasterDigLpbk.cfg
example/omapl138/MCBSPDigLpbk/MCBSP_DigLpbk_lcdkOMAPL138_c674xExampleProject.txt
example/omapl138/MCBSPDigLpbk/mcbspMasterDigLpbk.cfg

index d60ac544e063cbeee702fa8c43d6850a07006fc2..d5967ca0d3959cbce313107796054c4109de5447 100644 (file)
@@ -4,4 +4,4 @@
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/c6657/MCBSPDigLpbk/mcbspMasterDigLpbk.cfg" 
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/c6657/MCBSPDigLpbk/mcbspMasterDigLpbk_osal.c" 
 
--ccs.setCompilerOptions "-DSOC_C6657 -DMCBSP_DEBUG_TEMP -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/c6657/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp" -rtsc.enableRtsc 
+-ccs.setCompilerOptions "-DSOC_C6657 -DMCBSP_DEBUG_TEMP -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/c6657/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp -I${PDK_INSTALL_PATH}/ti/board" -rtsc.enableRtsc
index 07f797083b02ed993750055b0d82611061badcce..7377088a4ed6c72b171cad7fb661a678f9582f3a 100644 (file)
@@ -57,6 +57,24 @@ var devType = "c6657"
 var mcbsp = xdc.useModule('ti.drv.mcbsp.Settings');
 mcbsp.deviceType = devType;
 
+/* Load the uart package */
+var Uart = xdc.loadPackage('ti.drv.uart');
+Uart.Settings.socType  = devType;
+
+var Csl = xdc.useModule('ti.csl.Settings');
+Csl.deviceType = devType;
+Csl.libProfile = "release";
+
+/* Load the OSAL package */
+var osType = "tirtos"
+var Osal = xdc.useModule('ti.osal.Settings');
+Osal.osType = osType;
+Osal.socType  = devType;
+
+/* Load the Board package and set the board name */
+var Board = xdc.loadPackage('ti.board');
+Board.Settings.boardName = "evmC6657";
+
 /* Circular buffer size for System_printf() */
 System.SupportProxy = SysStd;
 
index 587c07ec5e21fc257a2d0765aa4bbe952c8e9d3f..433f4cbeb09e211a5f266d5bf2141460b453ef2b 100644 (file)
@@ -8,4 +8,4 @@
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/c674x/MCBSPDigLpbk/sample_cs.c" 
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/c674x/MCBSPDigLpbk/sample_init.c" 
 
--ccs.setCompilerOptions "-Domapl138 -DMCBSP_DEBUG_TEMP -mv6740 -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp" -rtsc.enableRtsc 
+-ccs.setCompilerOptions "-Domapl138 -DMCBSP_DEBUG_TEMP -mv6740 -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp -I${PDK_INSTALL_PATH}/ti/board" -rtsc.enableRtsc
index ef7fb747257cb6a6721478fc801882aac4ad753b..44dedf67b40d97722513c20b1a5c1d183e0c703a 100644 (file)
@@ -55,6 +55,24 @@ var devType = "omapl138"
 var mcbsp = xdc.useModule('ti.drv.mcbsp.Settings');
 mcbsp.deviceType = devType;
 
+/* Load the uart package */
+var Uart = xdc.loadPackage('ti.drv.uart');
+Uart.Settings.socType  = devType;
+
+var Csl = xdc.useModule('ti.csl.Settings');
+Csl.deviceType = devType;
+Csl.libProfile = "release";
+
+/* Load the OSAL package */
+var osType = "tirtos"
+var Osal = xdc.useModule('ti.osal.Settings');
+Osal.osType = osType;
+Osal.socType  = devType;
+
+/* Load the Board package and set the board name */
+var Board = xdc.loadPackage('ti.board');
+Board.Settings.boardName = "lcdkOMAPL138";
+
 /* Circular buffer size for System_printf() */
 System.SupportProxy = SysStd;
 
index 159551977fc835861334a6214c5bc0eda17130fd..ae0e011c3cf029c94826b34282b5416976879c14 100644 (file)
@@ -8,4 +8,4 @@
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/k2g/MCBSPDigLpbk/sample_cs.c" 
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/k2g/MCBSPDigLpbk/sample_init.c" 
 
--ccs.setCompilerOptions "-DDEVICE_K2G -DMCBSP_DEBUG_TEMP -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/k2g/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp" -rtsc.enableRtsc 
+-ccs.setCompilerOptions "-DDEVICE_K2G -DMCBSP_DEBUG_TEMP -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/k2g/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp -I${PDK_INSTALL_PATH}/ti/board" -rtsc.enableRtsc
index 10a1d14a2367a686745904584d02ac9dd9f0c1d2..01113e494b486b84521164af1cad5b110d60dfe9 100644 (file)
@@ -56,6 +56,24 @@ var devType = "k2g"
 var mcbsp = xdc.useModule('ti.drv.mcbsp.Settings');
 mcbsp.deviceType = devType;
 
+/* Load the uart package */
+var Uart = xdc.loadPackage('ti.drv.uart');
+Uart.Settings.socType  = devType;
+
+var Csl = xdc.useModule('ti.csl.Settings');
+Csl.deviceType = devType;
+Csl.libProfile = "release";
+
+/* Load the OSAL package */
+var osType = "tirtos"
+var Osal = xdc.useModule('ti.osal.Settings');
+Osal.osType = osType;
+Osal.socType  = devType;
+
+/* Load the Board package and set the board name */
+var Board = xdc.loadPackage('ti.board');
+Board.Settings.boardName = "evmK2G";
+
 /* Circular buffer size for System_printf() */
 System.SupportProxy = SysStd;
 
index a479ac7aad9a18cb0e03364c5d27bd9b26e68dbe..a9eb08f202eccac7af64ddb682039f412e13366b 100644 (file)
@@ -8,4 +8,4 @@
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/omapl138/MCBSPDigLpbk/sample_cs.c" 
 -ccs.linkFile "${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/omapl138/MCBSPDigLpbk/sample_init.c" 
 
--ccs.setCompilerOptions "-mv6740 --abi=eabi -g --define=SOC_OMAPL138 --define=LCDK_OMAPL138 -DMCBSP_DEBUG_TEMP -mv6740 -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/omapl138/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp" -rtsc.enableRtsc 
+-ccs.setCompilerOptions "-mv6740 --abi=eabi -g --define=SOC_OMAPL138 --define=LCDK_OMAPL138 -DMCBSP_DEBUG_TEMP -mv6740 -g --diag_warning=225 -I${PDK_INSTALL_PATH} -I${BIOS_INSTALL_PATH}/packages -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/example/omapl138/MCBSPDigLpbk -I${PDK_INSTALL_PATH}/ti/drv/mcbsp/include -I${PDK_INSTALL_PATH}/ti/drv/mcbsp -I${PDK_INSTALL_PATH}/ti/board" -rtsc.enableRtsc
index ef7fb747257cb6a6721478fc801882aac4ad753b..44dedf67b40d97722513c20b1a5c1d183e0c703a 100644 (file)
@@ -55,6 +55,24 @@ var devType = "omapl138"
 var mcbsp = xdc.useModule('ti.drv.mcbsp.Settings');
 mcbsp.deviceType = devType;
 
+/* Load the uart package */
+var Uart = xdc.loadPackage('ti.drv.uart');
+Uart.Settings.socType  = devType;
+
+var Csl = xdc.useModule('ti.csl.Settings');
+Csl.deviceType = devType;
+Csl.libProfile = "release";
+
+/* Load the OSAL package */
+var osType = "tirtos"
+var Osal = xdc.useModule('ti.osal.Settings');
+Osal.osType = osType;
+Osal.socType  = devType;
+
+/* Load the Board package and set the board name */
+var Board = xdc.loadPackage('ti.board');
+Board.Settings.boardName = "lcdkOMAPL138";
+
 /* Circular buffer size for System_printf() */
 System.SupportProxy = SysStd;