[processor-sdk/performance-audio-sr.git] / psdk_cust / pdk_k2g_1_0_1_0_eng / packages / pdkProjectCreate.bat
diff --git a/psdk_cust/pdk_k2g_1_0_1_0_eng/packages/pdkProjectCreate.bat b/psdk_cust/pdk_k2g_1_0_1_0_eng/packages/pdkProjectCreate.bat
+++ /dev/null
@@ -1,580 +0,0 @@
-@REM ******************************************************************************
-@REM * FILE PURPOSE: PDK Unit Test and Example Project Creator
-@REM ******************************************************************************
-@REM * FILE NAME: pdkProjectCreate.bat
-@REM *
-@REM * DESCRIPTION:
-@REM * The script file is used to create the test and example projects of all
-@REM * components under PDK. These projects are available in the specified
-@REM * workspace.
-@REM *
-@REM * Syntax:
-@REM * pdkProjectCreate.bat [soc] [board] [endian] [module] [processor] [pdkDir]
-@REM *
-@REM * Description: (first option is default)
-@REM * soc - AM335x / AM437x / AM571x / AM572x / K2E / K2G / K2K / K2H / K2L /
-@REM * C6678 / C6657
-@REM * board - all (use "all" for K2X and C66X SOCs)
-@REM * -or-
-@REM * Refer to pdk_<soc>_<version>\packages\ti\board\lib
-@REM * for valid board inputs for the soc
-@REM * endian - little / big
-@REM * module - all
-@REM * -or-
-@REM * aif2 / bcp / cppi / csl / dfe / emac / fatfs / fm / fftc /
-@REM * gpio / hyplnk / i2c / icss_emac / iqn2 / mcasp / mcbsp / mmcsd / nimu /
-@REM * nimu_icss / nwal / pa / pcie / pktlib / pruss / qmss / rm / sa /
-@REM * serdes-diag / spi / srio / tcp3d / tfw / transportqmss /
-@REM * transportsrio / tsip / uart / usb / wdtimer
-@REM * processor - arm / dsp / m4
-@REM * pdkDir - THIS FILE LOCATION / "C:\ti\pdk_<soc>_<version>\packages"
-@REM *
-@REM * Example:
-@REM * a) pdkProjectCreate.bat
-@REM * - Creates all module projects for the AM335x soc for arm little endian
-@REM * b) pdkProjectCreate.bat AM437x
-@REM * - Creates all module projects for the AM437x soc for arm little endian
-@REM * c) pdkProjectCreate.bat AM437x idkAM437x
-@REM * - Creates all module projects for idkAM437x device for arm little endian
-@REM * d) pdkProjectCreate.bat AM571x evmAM571x little
-@REM * - Creates all module projects for evmAM571x device for arm little endian
-@REM * e) pdkProjectCreate.bat AM571x evmAM571x little i2c dsp
-@REM * - Creates i2c module projects for evmAM571x device for dsp little endian
-@REM * f) pdkProjectCreate.bat K2H all little i2c arm
-@REM * - Creates i2c module projects for K2H device for arm little endian
-@REM * g) pdkProjectCreate.bat C6678 all little hyplnk dsp
-@REM * - Creates hyplnk module projects for C6678 device for dsp little endian
-@REM *
-@REM * Copyright (C) 2012-2016, Texas Instruments, Inc.
-@REM *****************************************************************************
-@echo OFF
-
-REM Lists of valid input parameters - MUST be updated as new input parameters are added
-REM *****************************************************************************
-set soc_list=AM335x AM437x AM571x AM572x K2E K2K K2H K2L K2G C6678 C6657
-set endian_list=little big
-set module_list=all aif2 bcp cppi csl dfe emac fatfs fm fftc gpio hyplnk i2c icss_emac iqn2 mcasp mcbsp mmcsd nimu nimu_icss nwal pa pcie pktlib pruss qmss rm sa serdes_diag spi srio tcp3d tfw transportqmss transportsrio tsip uart usb wdtimer
-set proc_list=arm dsp m4
-
-REM Parameter Validation: Check if the argument was passed to the batch file.
-REM *****************************************************************************
-REM Argument [soc] is used to set SOC variable.
-set tempVar1=%1
-if not defined tempVar1 goto nosoc
-set SOC=%tempVar1%
-goto socdone
-:nosoc
-set SOC=AM335x
-:socdone
-
-REM Argument [board] is used to set BOARD variable.
-REM This is the board type of the soc for which project are to be created.
-set tempVar2=%2
-if not defined tempVar2 goto noboard
-set BOARD=%tempVar2%
-goto boarddone
-:noboard
-set BOARD=all
-:boarddone
-
-REM Argument [endian] is used to set ENDIAN variable.
-REM This is Endianess of the projects being created.
-REM Valid Values are 'little' and 'big'. Defaults to 'little'.
-set tempVar3=%3
-if not defined tempVar3 goto littleendian
-set ENDIAN=%tempVar3%
-goto endiandone
-:littleendian
-set ENDIAN=little
-:endiandone
-
-REM Argument [module] is used to set MODULE variable.
-REM This is specific module for which projects are created.
-REM Valid Values are LLD name. Defaults to all LLD's.
-set tempVar4=%4
-if not defined tempVar4 goto nomodule
-set MODULE=%tempVar4%
-goto moduledone
-:nomodule
-set MODULE=all
-:moduledone
-
-REM Argument [processor] is used to set PROCESSOR variable.
-REM This is specific processor type for which projects are created.
-REM Valid Values are arm, dsp, or m4 . Defaults to arm.
-set tempVar5=%5
-if not defined tempVar5 goto noprocessor
-set PROCESSOR=%tempVar5%
-goto processordone
-:noprocessor
-set PROCESSOR=arm
-:processordone
-
-REM Argument [pdkDir] is used to set PDK_SHORT_NAME. This is PDK directory
-REM where project description files are located. If there is no value passed,
-REM it defaults to the file location directory. Then convert the variable to
-REM short name to avoid issues using batch file commands.
-set tempVar6=%6
-if not defined tempVar6 goto noparameter
-set PDK_SHORT_NAME=%tempVar6%
-goto done
-:noparameter
-set PDK_SHORT_NAME=%~sdp0
-:done
-
-REM *****************************************************************************
-
-echo =========================================================================
-echo Configuration:
-echo. SOC : %SOC%
-echo BOARD : %BOARD%
-echo. ENDIAN : %ENDIAN%
-echo. MODULE : %MODULE%
-echo. PROCESSOR : %PROCESSOR%
-echo. PDK_SHORT_NAME : %PDK_SHORT_NAME%
-echo =========================================================================
-echo Checking Configuration...
-
-for %%a in (%soc_list%) do (
- if %SOC% == %%a (
- goto end_soc_check
- )
-)
-echo ERROR: SOC (%SOC%) is invalid
-goto CONFIG_ERR
-:end_soc_check
-
-if %BOARD% == all (
- goto end_board_check
-)
-setlocal enabledelayedexpansion
-set board_type=!BOARD:%SOC%=!
-if not %board_type% == %BOARD% (
- goto end_board_check
-)
-echo ERROR: Board (%BOARD%) is invalid for the specified SOC (%SOC%)
-goto CONFIG_ERR
-:end_board_check
-
-for %%a in (%endian_list%) do (
- if %ENDIAN% == %%a (
- goto end_endian_check
- )
-)
-echo ERROR: Endian (%ENDIAN%) is invalid
-goto CONFIG_ERR
-:end_endian_check
-
-for %%a in (%module_list%) do (
- if %MODULE% == %%a (
- goto end_module_check
- )
-)
-echo ERROR: Module (%MODULE%) is invalid
-goto CONFIG_ERR
-:end_module_check
-
-for %%a in (%proc_list%) do (
- if %PROCESSOR% == %%a (
- goto end_proc_check
- )
-)
-echo ERROR: Processor (%PROCESSOR%) is invalid
-goto CONFIG_ERR
-:end_proc_check
-
-if %SOC% == AM335x (
- if %PROCESSOR% == dsp (
- echo ERROR: The AM335x soc does not contain a DSP processor
- goto CONFIG_ERR
- ) else if %PROCESSOR% == m4 (
- echo ERROR: The AM335x soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %ENDIAN% == big (
- echo ERROR: The AM335x soc's arm does not support big endian
- goto CONFIG_ERR
- )
-) else if %SOC% == AM437x (
- if %PROCESSOR% == dsp (
- echo ERROR: The AM437x soc does not contain a DSP processor
- goto CONFIG_ERR
- ) else if %PROCESSOR% == m4 (
- echo ERROR: The AM437x soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %ENDIAN% == big (
- echo ERROR: The AM437x soc's arm does not support big endian
- goto CONFIG_ERR
- )
-) else if %SOC% == AM571x (
- if %ENDIAN% == big (
- echo ERROR: The AM571x soc's processor's do not support big endian
- goto CONFIG_ERR
- )
-) else if %SOC% == AM572x (
- if %ENDIAN% == big (
- echo ERROR: The AM572x soc's processor's do not support big endian
- goto CONFIG_ERR
- )
-) else if %SOC% == K2K (
- if %PROCESSOR% == m4 (
- echo ERROR: The K2K soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %PROCESSOR% == arm (
- if %ENDIAN% == big (
- echo ERROR: The K2K soc's arm does not support big endian
- goto CONFIG_ERR
- )
- )
-) else if %SOC% == K2H (
- if %PROCESSOR% == m4 (
- echo ERROR: The K2H soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %PROCESSOR% == arm (
- if %ENDIAN% == big (
- echo ERROR: The K2H soc's arm does not support big endian
- goto CONFIG_ERR
- )
- )
-) else if %SOC% == K2E (
- if %PROCESSOR% == m4 (
- echo ERROR: The K2E soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %PROCESSOR% == arm (
- if %ENDIAN% == big (
- echo ERROR: The K2E soc's arm does not support big endian
- goto CONFIG_ERR
- )
- )
-) else if %SOC% == K2L (
- if %PROCESSOR% == m4 (
- echo ERROR: The K2L soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %PROCESSOR% == arm (
- if %ENDIAN% == big (
- echo ERROR: The K2L soc's arm does not support big endian
- goto CONFIG_ERR
- )
- )
-) else if %SOC% == K2G (
- if %PROCESSOR% == m4 (
- echo ERROR: The K2G soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %PROCESSOR% == arm (
- if %ENDIAN% == big (
- echo ERROR: The K2G soc's arm does not support big endian
- goto CONFIG_ERR
- )
- )
-) else if %SOC% == C6678 (
- if %PROCESSOR% == m4 (
- echo ERROR: The C6678 soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %PROCESSOR% == arm (
- echo ERROR: The C6678 soc does not contain an arm processor
- goto CONFIG_ERR
- )
-) else if %SOC% == C6657 (
- if %PROCESSOR% == m4 (
- echo ERROR: The C6657 soc does not contain a M4 processor
- goto CONFIG_ERR
- )
-
- if %PROCESSOR% == arm (
- echo ERROR: The C6657 soc does not contain an arm processor
- goto CONFIG_ERR
- )
-) else (
- echo ERROR: Invalid soc
- goto CONFIG_ERR
-)
-
-goto CONFIG_COMPLETE
-
-:CONFIG_ERR
-echo Exiting...
-echo =========================================================================
-goto ENDSCRIPT
-
-:CONFIG_COMPLETE
-echo Complete
-echo =========================================================================
-
-REM *****************************************************************************
-REM * Version Information of the various tools etc required to build the test
-REM * projects. Customers are free to modify these to meet their requirements.
-REM *****************************************************************************
-
-REM This is to control the CCS version specific project create command
-REM Set to 'no' when using CCSv5 and CCSv6 or set to 'yes' when using CCSv4
-set IS_CCS_VERSION_4=no
-
-REM Set to 'no' when using QT, EVM, VDB, or other hardware. Set to 'yes' only when using the simulator.
-set IS_SIMULATOR_SUPPORT_NEEDED=no
-
-REM Install Location for CCS
-set CCS_INSTALL_PATH="C:\ti\ccsv6"
-
-REM Workspace where the PDK projects will be created.
-set MY_WORKSPACE=%PDK_SHORT_NAME%\MyExampleProjects
-
-REM macros.ini location
-set MACROS_FILE=%PDK_SHORT_NAME%\macros.ini
-
-REM This is the format of the executable being created
-REM Valid Values are 'ELF' and 'COFF'
-set OUTPUT_FORMAT=ELF
-
-REM Version of CG-Tools
-set CGT_VERSION=8.1.0
-
-REM Version of CG-ARM-Tools for M4
-set CGT_M4_VERSION=5.2.5
-
-REM Version of XDC
-set XDC_VERSION=3.32.00.06
-
-REM Version of BIOS
-set BIOS_VERSION=6.45.01.29
-
-REM Version of CG-Tools for ARM
-set CGT_VERSION_ARM=GNU_4.8.4:Linaro
-
-REM Version of the IPC
-set IPC_VERSION=3.42.00.02
-
-REM EDMA3 Version
-set EDMA_VERSION=2.12.01.23
-
-REM Version of the PDK
-set PDK_VERSION=1.0.1
-
-REM Version of the NDK
-set NDK_VERSION=2.24.03.35
-
-REM Version of UIA
-set UIA_VERSION=2.00.03.43
-
-REM PDK Part Number & Platform name
-if %SOC% == K2K (
- set PDK_PARTNO=TCI6638
- set PDK_ECLIPSE_ID=com.ti.pdk.k2hk
- set RTSC_PLATFORM_NAME=ti.platforms.evmTCI6638K2K
- if %PROCESSOR% == arm (
- set RTSC_TARGET=gnu.targets.arm.A15F
- set CCS_DEVICE="Cortex A.TCI6638K2K"
- )
-) else if %SOC% == K2H (
- set PDK_PARTNO=TCI6636
- set PDK_ECLIPSE_ID=com.ti.pdk.k2hk
- set RTSC_PLATFORM_NAME=ti.platforms.evmTCI6636K2H
- if %PROCESSOR% == arm (
- set RTSC_TARGET=gnu.targets.arm.A15F
- set CCS_DEVICE="Cortex A.66AK2H12"
- )
-) else if %SOC% == K2L (
- set PDK_PARTNO=TCI6630
- set PDK_ECLIPSE_ID=com.ti.pdk.k2l
- set RTSC_PLATFORM_NAME=ti.platforms.evmTCI6630K2L
- if %PROCESSOR% == arm (
- set RTSC_TARGET=gnu.targets.arm.A15F
- set CCS_DEVICE="Cortex A.TCI6630K2L"
- )
-) else if %SOC% == K2E (
- set PDK_PARTNO=66AK2E05
- set PDK_ECLIPSE_ID=com.ti.pdk.k2e
- set RTSC_PLATFORM_NAME=ti.platforms.evmC66AK2E
- if %PROCESSOR% == arm (
- set RTSC_TARGET=gnu.targets.arm.A15F
- set CCS_DEVICE="Cortex A.66AK2E05"
- )
-) else if %SOC% == K2G (
- set PDK_PARTNO=66AK2G02
- set PDK_ECLIPSE_ID=com.ti.pdk.k2g
- set RTSC_PLATFORM_NAME=ti.platforms.evmTCI66AK2G02
- if %PROCESSOR% == arm (
- set RTSC_TARGET=gnu.targets.arm.A15F
- set CCS_DEVICE="Cortex A.66AK2G02"
- )
-) else if %SOC% == AM571x (
- set PDK_PARTNO=AM571X
- set PDK_ECLIPSE_ID=com.ti.pdk.am57xx
- set RTSC_PLATFORM_NAME=ti.platforms.evmAM571X
- if %PROCESSOR% == arm (
- set RTSC_TARGET=gnu.targets.arm.A15F
- set CCS_DEVICE="Cortex A.AM5728_RevA"
- ) else if %PROCESSOR% == m4 (
- set RTSC_TARGET=ti.targets.arm.elf.M4
- set CCS_DEVICE="Cortex M.AM5728_RevA"
- )
-) else if %SOC% == AM572x (
- set PDK_PARTNO=AM572X
- set PDK_ECLIPSE_ID=com.ti.pdk.am57xx
- set RTSC_PLATFORM_NAME=ti.platforms.evmAM572X
- if %PROCESSOR% == arm (
- set RTSC_TARGET=gnu.targets.arm.A15F
- set CCS_DEVICE="Cortex A.AM5728_RevA"
- ) else if %PROCESSOR% == m4 (
- set RTSC_TARGET=ti.targets.arm.elf.M4
- set CCS_DEVICE="Cortex M.AM5728_RevA"
- )
-) else if %SOC% == AM335x (
- set PDK_PARTNO=AM335
- set PDK_ECLIPSE_ID=com.ti.pdk.am335x
- set RTSC_PLATFORM_NAME=ti.platforms.evmAM3359
- set RTSC_TARGET=gnu.targets.arm.A8F
- set CCS_DEVICE="Cortex A.AM3359.ICE_AM3359"
-) else if %SOC% == AM437x (
- set PDK_PARTNO=AM437
- set PDK_ECLIPSE_ID=com.ti.pdk.am437x
- set RTSC_PLATFORM_NAME=ti.platforms.evmAM437X
- set RTSC_TARGET=gnu.targets.arm.A9F
- set CCS_DEVICE="Cortex A.AM4379.IDK_AM437X"
-) else if %SOC% == C6678 (
- set PDK_PARTNO=C6678L
- set PDK_ECLIPSE_ID=com.ti.pdk.c667x
- set RTSC_PLATFORM_NAME=ti.platforms.evm6678
-) else if %SOC% == C6657 (
- set PDK_PARTNO=C6657
- set PDK_ECLIPSE_ID=com.ti.pdk.c665x
- set RTSC_PLATFORM_NAME=ti.platforms.evm6657
-) else (
- REM Need to exit the batch script cleanly
- set PDK_PARTNO=TCI6634
- set PDK_ECLIPSE_ID=ti.pdk
- set RTSC_PLATFORM_NAME=ti.platforms.simKepler
-)
-
-REM RTSC Target
-REM - Please ensure that you select this taking into account the
-REM OUTPUT_FORMAT and the RTSC_PLATFORM_NAME
-if %PROCESSOR% == dsp (
- if %ENDIAN% == big (
- set RTSC_TARGET=ti.targets.elf.C66_big_endian
- set CCS_DEVICE="com.ti.ccstudio.deviceModel.C6000.GenericC64xPlusDevice"
- ) else (
- set RTSC_TARGET=ti.targets.elf.C66
- set CCS_DEVICE="com.ti.ccstudio.deviceModel.C6000.GenericC64xPlusDevice"
- )
-)
-
-echo PDK_PARTNO : %PDK_PARTNO%
-echo PDK_ECLIPSE_ID : %PDK_ECLIPSE_ID%
-echo RTSC_PLATFORM_NAME : %RTSC_PLATFORM_NAME%
-echo. RTSC_TARGET : %RTSC_TARGET%
-echo. CCS_DEVICE : %CCS_DEVICE%
-REM *****************************************************************************
-REM *****************************************************************************
-REM Please do NOT change anything below this
-REM *****************************************************************************
-REM *****************************************************************************
-
-REM Set auto create command by default for use with CCSv5 and CCSv6
-set AUTO_CREATE_COMMAND=eclipse\eclipsec -noSplash
-
-REM If is CCS version 4 then set auto create command for use with CCSv4
-if .%IS_CCS_VERSION_4% == .yes set AUTO_CREATE_COMMAND=eclipse\jre\bin\java -jar %CCS_INSTALL_PATH%\eclipse\startup.jar
-
-REM Set project for Silicon or QT by default
-set SIMULATOR_SUPPORT_DEFINE=
-
-REM If simulator support is needed then set the define
-if .%IS_SIMULATOR_SUPPORT_NEEDED% == .yes set SIMULATOR_SUPPORT_DEFINE=-ccs.setCompilerOptions "--define SIMULATOR_SUPPORT"
-
-REM Goto the PDK Installation Path.
-
-pushd %PDK_SHORT_NAME%
-
-echo *****************************************************************************
-echo Detecting all projects in PDK and importing them in the workspace %MY_WORKSPACE%
-
-REM Set BOARD to equal the SOC if BOARD is set to "all". All projects for the
-REM SOC will be picked up
-if %BOARD% == all set BOARD=%SOC%
-REM Set MODULE to null string so it picks up all projects of PROCESSOR
-if %MODULE% == all set MODULE=""
-
-if %PROCESSOR% == dsp (
- REM Search for all the dsp test Project Files in the PDK.
- for /F %%I IN ('dir /b /s *%MODULE%*%BOARD%*c66*roject.txt') do (
- set project_detected = 1
-
- echo Detected Test Project: %%~nI
-
- REM Goto each directory where the test project file is located and create the projects.
- pushd %%~dI%%~pI
-
- REM Execute the command to create the project using the parameters specified above.
- %CCS_INSTALL_PATH%\%AUTO_CREATE_COMMAND% -data %MY_WORKSPACE% -application com.ti.ccstudio.apps.projectCreate -ccs.name %%~nI -ccs.outputFormat %OUTPUT_FORMAT% -ccs.device %CCS_DEVICE% -ccs.endianness %ENDIAN% -ccs.kind executable -ccs.cgtVersion %CGT_VERSION% -rtsc.xdcVersion %XDC_VERSION% -rtsc.enableDspBios -rtsc.biosVersion %BIOS_VERSION% -rtsc.buildProfile "debug" -rtsc.products "com.ti.sdo.edma3:%EDMA_VERSION%;com.ti.rtsc.IPC:%IPC_VERSION%;com.ti.rtsc.SYSBIOS:%BIOS_VERSION%;%PDK_ECLIPSE_ID%:%PDK_VERSION%;com.ti.rtsc.NDK:%NDK_VERSION%;com.ti.uia:%UIA_VERSION%" -rtsc.platform "%RTSC_PLATFORM_NAME%" -rtsc.target %RTSC_TARGET% -ccs.rts libc.a -ccs.args %%~nI%%~xI %SIMULATOR_SUPPORT_DEFINE% -ccs.overwrite full
-
- echo Copying macros.ini
- copy %MACROS_FILE% %MY_WORKSPACE%\%%~nI\macros.ini
-
- popd
- )
-)
-
-if %PROCESSOR% == arm (
- REM Search for all the arm test Project Files in the PDK.
- for /F %%I IN ('dir /b /s *%MODULE%*%BOARD%*arm*roject.txt') do (
- set project_detected = 1
-
- echo Detected Test Project: %%~nI
-
- REM Goto each directory where the test project file is located and create the projects.
- pushd %%~dI%%~pI
-
- REM Execute the command to create the project using the parameters specified above.
- %CCS_INSTALL_PATH%\%AUTO_CREATE_COMMAND% -data %MY_WORKSPACE% -application com.ti.ccstudio.apps.projectCreate -ccs.cmd "" -ccs.name %%~nI -ccs.outputFormat %OUTPUT_FORMAT% -ccs.setLinkerOptions "-L${BIOS_CG_ROOT}/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -ccs.device %CCS_DEVICE% -ccs.endianness %ENDIAN% -ccs.kind executable -ccs.cgtVersion "%CGT_VERSION_ARM%" -rtsc.xdcVersion %XDC_VERSION% -rtsc.enableDspBios -rtsc.biosVersion %BIOS_VERSION% -rtsc.buildProfile "debug" -rtsc.products "com.ti.sdo.edma3:%EDMA_VERSION%;com.ti.rtsc.SYSBIOS:%BIOS_VERSION%;%PDK_ECLIPSE_ID%:%PDK_VERSION%;com.ti.rtsc.NDK:%NDK_VERSION%" -rtsc.platform "%RTSC_PLATFORM_NAME%" -rtsc.target %RTSC_TARGET% -ccs.rts libc.a libgcc.a libuart.a libm.a libnosys.a -ccs.args %%~nI%%~xI %SIMULATOR_SUPPORT_DEFINE% -ccs.overwrite full
-
- echo Copying macro.ini
- copy %MACROS_FILE% %MY_WORKSPACE%\%%~nI\macros.ini
-
- popd
- )
-)
-
-if %PROCESSOR% == m4 (
- REM Search for all the m4 test Project Files in the PDK.
- for /F %%I IN ('dir /b /s *%MODULE%*%BOARD%*m4*roject.txt') do (
- set project_detected = 1
-
- echo Detected Test Project: %%~nI
-
- REM Goto each directory where the test project file is located and create the projects.
- pushd %%~dI%%~pI
-
- REM Execute the command to create the project using the parameters specified above.
- %CCS_INSTALL_PATH%\%AUTO_CREATE_COMMAND% -data %MY_WORKSPACE% -application com.ti.ccstudio.apps.projectCreate -ccs.cmd "" -ccs.name %%~nI -ccs.outputFormat %OUTPUT_FORMAT% -ccs.device %CCS_DEVICE% -ccs.endianness %ENDIAN% -ccs.kind executable -ccs.cgtVersion "%CGT_M4_VERSION%" -rtsc.xdcVersion %XDC_VERSION% -rtsc.enableDspBios -rtsc.biosVersion %BIOS_VERSION% -rtsc.buildProfile "debug" -rtsc.products "com.ti.sdo.edma3:%EDMA_VERSION%;com.ti.rtsc.SYSBIOS:%BIOS_VERSION%;%PDK_ECLIPSE_ID%:%PDK_VERSION%" -rtsc.platform "%RTSC_PLATFORM_NAME%" -rtsc.target %RTSC_TARGET% -ccs.rts libc.a libgcc.a libuart.a libm.a libnosys.a -ccs.args %%~nI%%~xI %SIMULATOR_SUPPORT_DEFINE% -ccs.overwrite full
-
- echo Copying macro.ini
- copy %MACROS_FILE% %MY_WORKSPACE%\%%~nI\macros.ini
-
- popd
- )
-)
-popd
-
-if not defined project_detected (
- echo No projects detected
-)
-
-echo Project generation complete
-echo *****************************************************************************
-
-:ENDSCRIPT