updating mcbsp driver to take tx data delay into account
[keystone-rtos/mcbsp-lld.git] / setupenv.bat
1 @REM ******************************************************************************
2 @REM * FILE PURPOSE: Environment Setup for building MCBSP LLD
3 @REM ******************************************************************************
4 @REM * FILE NAME: setupenv.bat
5 @REM *
6 @REM * DESCRIPTION: 
7 @REM *  Configures and sets up the Build Environment
8 @REM *
9 @REM * Copyright (C) 2012, Texas Instruments, Inc.
10 @REM *****************************************************************************
12 @echo ---------------------------------------
13 @echo Configuring MCBSP LLD Build Environment
14 @echo off
16 IF DEFINED PARTNO GOTO partno_defined
17 @REM Configure the Part Number
18 set PARTNO=K2G
19 :partno_Defined
21 IF DEFINED PDK_INSTALL_PATH GOTO pdk_defined
22 set PDK_INSTALL_PATH=C:\ti3\pdk_keystone2_3_02_00_00\packages
23 :pdk_defined
25 @REM ---------------------------------
26 @REM Enabling MINI PACKAGE to be Built
27 @REM ---------------------------------
28 set MINI_PACKAGE=OFF
29 @echo MINI PACKAGE is set to %MINI_PACKAGE%
31 @REM This is the base location for the various tools. 
32 set XDCCGROOT=T:\c6xx\cgen7_4_02\c6000\cgtools
33 set C6X_GEN_INSTALL_PATH=T:\c6xx\cgen7_4_02\c6000\cgtools
34 set EDMA3_INSTALL_PATH=C:\ti\edma3_lld_02_11_09_08\packages
36 @REM EDMA3 LLD installation path variables
37 @REM set EDMA3LLD_BIOS6_INSTALLDIR=C:/ti/edma3_lld_02_11_05_02
39 REM *******************************************************************************
40 REM *************************** XDC PATH Configuration ****************************
41 REM *******************************************************************************
42 REM MCBSP LLD depends upon the following packages:-
43 REM     - CSL Package for the CSL Register Layer
44 REM     - EDMA3 LLD
45 REM     - RM LLD
46 REM     - BIOS Package
47 REM These packages should be installed before trying to build the driver else 
48 REM compilations will fail.
49 REM CSL/LLDs Package: CSL, MCBSP and RM are a part of the CSL/LLDs package.
51 @REM Specify the XDC Tool Path
52 set XDC_INSTALL_PATH=T:/gen/xdc/xdctools_3_24_06_63
53 set XDCPATH=../../..;%XDC_INSTALL_PATH%/packages
55 @REM Configure the XDCPATH
56 set XDCPATH=%XDCPATH%;%PDK_INSTALL_PATH%;%C6X_GEN_INSTALL_PATH%/include;%EDMA3_INSTALL_PATH%
58 @REM Eclipse Help Plugin (Not required by customers)
59 set XDC_ECLIPSE_PLUGIN_INSTALL_PATH=T:/gen/xdc/xdc_eclipse_plugin_gen/20091203
60 set XDC_FILTER_INSTALL_PATH=T:/gen/xdc/xdcFilter/20100428
61 set XDCPATH=%XDCPATH%;%XDC_ECLIPSE_PLUGIN_INSTALL_PATH%
62 set XDCPATH=%XDCPATH%;%XDC_FILTER_INSTALL_PATH%
64 @REM Configure the paths to ensure that the XDC is available.
65 set PATH=%PATH%;%XDC_INSTALL_PATH%;%XDC_INSTALL_PATH%\bin;T:\Doxygen\doxygen\1.5.1-p1\bin
67 @REM Third Party Tools: Install-Jammer (Not required by customers)
68 set PATH=%PATH%;T:\gen\InstallJammer\v1_3_0
70 set PATH=%PATH%;%XDCCGROOT%\bin;T:\gen\gnu\99-11-01\cygwin-b20\H-i586-cygwin32\bin
71 set PATH=%PATH%;T:\SDOApps\cg_xml\cg_xml_v2_30_00\bin
73 @REM Third Party Tools: HTML Help compiler.
74 set PATH=%PATH%;T:\Doxygen\HTML_Help_Workshop\10-01-2007
76 @REM Environment Variable which control STATIC Analysis of the code
77 set STATIC_ANALYZE_PATH=T:\gen\coverity\prevent-mingw-3.4.0
78 set PATH=%PATH%;%STATIC_ANALYZE_PATH%\bin
80 @REM Set the Title Window appropriately.
81 Title MCBSP LLD Build Environment
83 @echo MCBSP LLD Build Environment Configured 
84 @echo ---------------------------------------