Tool/software: TI-RTOS
hi,
I am trying to run ledToggle using TI-RTOS for TM4C129 (DK_TM4C129X kit)...
I have installed CCS 7 Version: 7.1.0.00016
TI RTOS Version: 2.16.1.14
XDC tools Version: 3.50.01.12
The simple build project results in compilation failures what could be the issue??.... How to resolve this??....
**//-------------------Console Print----------------------------//**
**** Build of configuration Debug for project TM4C_TI_RTOS_NEW ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
gmake[1]: Entering directory 'D:/WIP/Tetra_Base_station/TIVA_basestation/Dev_board/Ti_RTOS_workspace/TM4C_TI_RTOS_NEW/Debug'
'Building file: ../empty.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_01_12_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:TM4C129XNCZAD -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"D:/WIP/Tetra_Base_station/TIVA_basestation/Dev_board/Ti_RTOS_workspace/TM4C_TI_RTOS_NEW\" --include_path=\"D:/WIP/Tetra_Base_station/TIVA_basestation/Dev_board/Ti_RTOS_workspace/TM4C_TI_RTOS_NEW\" --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=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include\" --define=ccs=\"ccs\" --define=PART_TM4C129XNCZAD --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../empty.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring empty.xem4f from package/cfg/empty_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making D:/WIP/Tetra_Base_station/TIVA_basestation/Dev_board/Ti_RTOS_workspace/TM4C_TI_RTOS_NEW/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `D:/WIP/Tetra_Base_station/TIVA_basestation/Dev_board/Ti_RTOS_workspace/TM4C_TI_RTOS_NEW/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
gmake[1]: Leaving directory `D:/WIP/Tetra_Base_station/TIVA_basestation/Dev_board/Ti_RTOS_workspace/TM4C_TI_RTOS_NEW/src/sysbios'
Build of libraries done.
clem4f package/cfg/empty_pem4f.c ...
>> Compilation failure
subdir_rules.mk:12: recipe for target 'build-835351777-inproc' failed
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 142: warning: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 142: warning: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 162: warning: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 162: warning: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 142: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 142: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 162: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimestamp.h", line 162: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 408: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 408: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 429: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 429: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 449: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 449: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 470: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/IUIATransfer.h", line 470: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 432: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 453: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 473: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 473: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 494: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 494: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 514: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 514: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 535: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages/ti/uia/runtime/ILoggerSnapshot.h", line 535: warning #515-D: a value of type "const xdc_runtime_Types_Base *" cannot be assigned to an entity of type "xdc_runtime_Types_Base *"
"package/cfg/empty_pem4f.c", line 915: warning #145-D: a value of type "xdc_Ptr (*)(xdc_Ptr, xdc_SizeT, xdc_Ptr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)" cannot be used to initialize an entity of type "xdc_Ptr (*)(xdc_CPtr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)"
"package/cfg/empty_pem4f.c", line 936: warning #145-D: a value of type "xdc_Ptr (*)(xdc_Ptr, xdc_SizeT, xdc_Ptr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)" cannot be used to initialize an entity of type "xdc_Ptr (*)(xdc_CPtr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)"
"package/cfg/empty_pem4f.c", line 958: warning #145-D: a value of type "xdc_Ptr (*)(xdc_Ptr, xdc_SizeT, xdc_Ptr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)" cannot be used to initialize an entity of type "xdc_Ptr (*)(xdc_CPtr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)"
"package/cfg/empty_pem4f.c", line 1030: warning #145-D: a value of type "xdc_Ptr (*)(xdc_Ptr, xdc_SizeT, xdc_Ptr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)" cannot be used to initialize an entity of type "xdc_Ptr (*)(xdc_CPtr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)"
"package/cfg/empty_pem4f.c", line 5191: warning #145-D: a value of type "const __T1_ti_sysbios_knl_Idle_funcList *" cannot be used to initialize an entity of type "ti_sysbios_knl_Idle_FuncPtr *"
"package/cfg/empty_pem4f.c", line 5195: warning #145-D: a value of type "const __T1_ti_sysbios_knl_Idle_coreList *" cannot be used to initialize an entity of type "xdc_UInt *"
"package/cfg/empty_pem4f.c", line 18396: error #148: declaration is incompatible with "xdc_Ptr ti_sysbios_BIOS_RtsGateProxy_Proxy__delegate__S(void)" (declared at line 244 of "C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/BIOS_RtsGateProxy.h")
"package/cfg/empty_pem4f.c", line 18575: fatal error #35: #error directive: The package 'ti.sysbios.family.arm.lm4' is not compatible with XDCtools used in this build. Please rebuild the package with XDCtools 3.50 or later.
1 error and 1 catastrophic error detected in the compilation of "package/cfg/empty_pem4f.c".
Compilation terminated.
gmake.exe: *** [package/cfg/empty_pem4f.oem4f] Error 1
js: "C:/ti/xdctools_3_50_01_12_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-835351777-inproc] Error 1
gmake: *** No rule to make target 'build-835351777', needed by 'configPkg/compiler.opt'.
gmake[1]: Leaving directory 'D:/WIP/Tetra_Base_station/TIVA_basestation/Dev_board/Ti_RTOS_workspace/TM4C_TI_RTOS_NEW/Debug'
gmake: Target 'all' not remade because of errors.
**** Build Finished ****