This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TM4C123GH6PM: TI-RTOS workshop lab 4 error

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: SYSBIOS,

Tool/software: TI-RTOS

Hi,

I am using code composer studio version 7.1.0.00016 and TI-RTOS version 2.16.0.08.

When I build workshop lab4 project using  XDCtools version 3.50.1.12_core, I have  build error as shown below. However, if I use XDCtools version 3.32.1.22_core the build is successful.

Any thoughts on this?

Thanks,

Sina

########################################################################

**** Build of configuration Debug for project blink_TM4C_BIOS ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory 'E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project/Debug'
gmake[1]: Nothing to be done for 'all'.
'Building file: ../empty.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_01_12_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages;C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C123GH6PM -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project\" --include_path=\"E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/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 " "../empty.cfg"
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project" --include_path="E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/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 --preproc_with_compile --preproc_dependency="main.d" --cmd_file="configPkg/compiler.opt" "../main.c"
'Finished building: ../main.c'
' '
making package.mak (because of .xdcenv.mak) ...
configuring empty.xem4f from package/cfg/empty_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/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 `E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project/src/sysbios'
Build of libraries done.
clem4f package/cfg/empty_pem4f.c ...

>> Compilation failure
subdir_rules.mk:12: recipe for target 'build-190501263-inproc' failed
"package/cfg/empty_pem4f.c", line 755: 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 776: 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 798: 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 3960: 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 3964: 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 13953: 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_00_08/products/bios_6_45_01_29/packages/ti/sysbios/package/BIOS_RtsGateProxy.h")
"package/cfg/empty_pem4f.c", line 14132: 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-190501263-inproc] Error 1
gmake: *** [build-190501263] Error 2
gmake[1]: Leaving directory 'E:/TI_RTOS_WORKSHOP/TI_RTOS/TM4C/Labs/Lab_04/Project/Debug'
subdir_rules.mk:9: recipe for target 'build-190501263' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

########################################################################