Other Parts Discussed in Thread: CCSTUDIO, , SYSBIOS
Hello,
I have some code and I want to create/build a CCS projects using this codes but the project shall be using the TI-RTOS.
so what is the required command line to create/build the project?
I checked the link Create and Build Projects Using Command Line (ti.com) but it isn't obvious what is the required options to create the project using the TI-RTOS, also if i created the project using the CCS then i tried to use the command line, the building will fail while if it tried to build from the CCS, the building will success.
///////////////// building command
C:\ti\ccs1010\ccs\eclipse\eclipsec -noSplash -data "D:\FirmwareMine\Projects\FWTFS\GESAF\Examples\CCS_new2\workspace" ^
-application com.ti.ccstudio.apps.buildProject^
-ccs.projects TestProject ^
-ccs.configuration Debug
///////////////building output
D:\FirmwareMine\Projects\FWTFS\GESAF\Examples\CCS_new2>C:\ti\ccs1010\ccs\eclipse\eclipsec -noSplash -data "D:\FirmwareMine\Projects\FWTFS\GESAF\Examples\CCS_new2\workspace" -application com.ti.ccstudio.apps.projectBuild -ccs.workspace
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Thu Jan 14 14:40:11 EET 2021]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
================================================================================
Pre processing...
================================================================================
Building...
**** Build of configuration Debug for project TestProject ****
"C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../TestProject.cfg"
Invoking: XDCtools
"C:/ti/ccs1010/xdctools_3_61_02_27_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C123GH6PM -r release -c "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/TestProject\" --include_path=\"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/TestProject/GESAF/ApplicationLayer/Application/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/TestProject/GESAF/ApplicationLayer\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/Environment/StdLog\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/Environment/StdType\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/Environment/EnvironmentAbstraction/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/MCAbstractionLayer/Communication/I2C/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/MCAbstractionLayer/Communication/SPI/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/MCAbstractionLayer/Communication/UART/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/MCAbstractionLayer/IO/DIO/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/MCAbstractionLayer/IO/ADC/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/ServiceLayer/Display/CLCDE/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/ServiceLayer/Diagnostic/PROBE/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/ServiceLayer/Diagnostic/ELOG/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/ServiceLayer/Memory/NVM/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/ServiceLayer/Memory/CBUF/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/PlatformAbstractionLayer/IO/IoHwAb/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/PlatformAbstractionLayer/Pressure/BMX280/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/PlatformAbstractionLayer/Pressure/BMP180/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/PlatformAbstractionLayer/Communication/NRF24l01P/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/PlatformAbstractionLayer/Communication/NGPS/GESAF/include\" --include_path=\"D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new2/GESAF_STACK/PlatformAbstractionLayer/Display/HD44780/GESAF/include\" --define=ccs=\"ccs\" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TestProject.cfg"
configuring TestProject.xem4f from package/cfg/TestProject_pem4f.cfg ...
subdir_rules.mk:12: recipe for target 'build-2007359121-inproc' failed
error: xdc.cfg.Program: "C:/ti/ccs1010/xdctools_3_61_02_27_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
js: "C:/ti/ccs1010/xdctools_3_61_02_27_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_61_02_27_core\gmake.exe: *** [package.mak:202: package/cfg/TestProject_pem4f.xdl] Error 1
js: "C:/ti/ccs1010/xdctools_3_61_02_27_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-2007359121-inproc] Error 1
gmake: *** [build-2007359121] Error 2
subdir_rules.mk:9: recipe for target 'build-2007359121' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Please advise!
Thanks,
Mohammed