PRSDK-2538: Descoping C64p BE
[ep-processor-libraries/dsplib.git] / readme.txt
1 Instructions to build DSPLIB from source:
3 1. Clone DSPLIB from git://git.ti.com/ep-processor-libraries/dsplib.git 
4    Clone SWTOOLS from git://git.ti.com/ep-processor-libraries/swtools.git
6 2. Make sure following Proc-SDK components are installed:
7    - SYSBIOS
8    - XDC
9    - Code Gen Tools
10    - CCS
11    - MATHLIB
13 3. Setup following environment variables (exact version numbers may be different):
14 export SYSBIOS_INSTALL_DIR="<COMPONENTS_INSTALLATION_ROOT>/bios_6_52_00_12"
15 export XDC_INSTALL_DIR="<COMPONENTS_INSTALLATION_ROOT>/xdctools_3_50_03_33_core/"
16 export XDCCGROOT="<COMPONENTS_INSTALLATION_ROOT>/ti-cgt-c6000_8.2.2"
17 export CGTROOT="<COMPONENTS_INSTALLATION_ROOT>/ti-cgt-c6000_8.2.2"
18 export C64PCODEGENTOOL="${CGTROOT}"
19 export C674CODEGENTOOL="${CGTROOT}"
20 export C66CODEGENTOOL="${CGTROOT}"
22 export CCSVERSION="CCSV8"
23 export CCS_INSTALL_DIR="<COMPONENTS_INSTALLATION_ROOT>/ccsv8"
25 export DSPLIB_ROOT="<DSPLIB git clone root>"
26 export MATHLIB_INSTALL_DIR="<COMPONENTS_INSTALLATION_ROOT>/mathlib_c66x_3_1_2_2/packages"
28 export SWTOOLS_INSTALL_DIR="<SWTOOLS git clone root>"
29 export SWTOOLS_PATH="<SWTOOLS git clone root>/ti/mas/swtools"
30 export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld"
31 export INCDIR="${MATHLIB_INSTALL_DIR}/"
33 export PATH="${XDC_INSTALL_DIR}:${PATH}"
35 export XDCPATH="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SWTOOLS_INSTALL_DIR};${MATHLIB_INSTALL_DIR};${DSPLIB_ROOT};${SYSBIOS_INSTALL_DIR}/packages;"
37 4. Build SWTOOLS and then DSPLIB
38    - Go to directory <SWTOOLS_PATH> and issue command "xdc"
39    - Go to directory <DSPLIB_ROOT>/ti/dsplib and issue one of following commands:
40        - xdc XDCARGS="c66x bundle"
41        - xdc XDCARGS="c674x bundle"
42        - xdc XDCARGS="c64Px bundle"