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/SW-EK-TM4C129EXL: Build problems

Part Number: SW-EK-TM4C129EXL
Other Parts Discussed in Thread: EK-TM4C129EXL, TM4C129ENCPDT, SYSBIOS

Tool/software: TI-RTOS

Hello,

i have installed TI-ROS v2.16.0.08 and XDC tools v3.32.2.25 and wolfSSL 3.14.0.

I follow the steps on wiki:Using wolfSSL with TI-RTOS.

I try to build the secure_iot demo on the EK-TM4C129EXL. But i get the following Build message:

Can anybody help me?


**** Build of configuration Debug for project secure_iot ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all
 
Building file: "../secure_iot.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_32_02_25_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/ccsv8/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129ENCPDT -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include\" --include_path=\"C:/ti/wolfssl-3.14.0-stable\" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd\" --define=NET_NDK --define=ccs=\"ccs\" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../secure_iot.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring secure_iot.xem4f from package/cfg/secure_iot_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/Yildiz/workspace_v8/secure_iot/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/Yildiz/workspace_v8/secure_iot/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 `C:/Users/Yildiz/workspace_v8/secure_iot/src/sysbios'
Build of libraries done.
clem4f package/cfg/secure_iot_pem4f.c ...
warning: ti.tirtos.TIRTOS: "C:/ti/tirtos_tivac_2_16_00_08/packages/ti/tirtos/TIRTOS.xs", line 49: ti.tirtos.TIRTOS : ti.tirtos.TIRTOS module is no longer required to configure driver instrumentation.  Please use the ti.drivers.Config and ti.mw.Config modules instead.
warning: ti.tirtos.TIRTOS: "C:/ti/tirtos_tivac_2_16_00_08/packages/ti/tirtos/TIRTOS.xs", line 63: ti.tirtos.TIRTOS : TI-RTOS driver modules have been deprecated and replaced by the ti.drivers.Config module.  Please remove TIRTOS.useEMAC from the .cfg.
warning: ti.tirtos.TIRTOS: "C:/ti/tirtos_tivac_2_16_00_08/packages/ti/tirtos/TIRTOS.xs", line 69: ti.tirtos.TIRTOS : TI-RTOS driver modules have been deprecated and replaced by the ti.drivers.Config module.  Please remove TIRTOS.useGPIO from the .cfg.
warning: ti.tirtos.TIRTOS: "C:/ti/tirtos_tivac_2_16_00_08/packages/ti/tirtos/TIRTOS.xs", line 105: ti.tirtos.TIRTOS : TI-RTOS driver modules have been deprecated and replaced by the ti.drivers.Config module.  Please remove TIRTOS.useUART from the .cfg.
"package/cfg/secure_iot_pem4f.c", line 17489: warning #112-D: statement is unreachable
"package/cfg/secure_iot_pem4f.c", line 18002: warning #112-D: statement is unreachable
"package/cfg/secure_iot_pem4f.c", line 18237: warning #112-D: statement is unreachable
"package/cfg/secure_iot_pem4f.c", line 18656: warning #112-D: statement is unreachable
"package/cfg/secure_iot_pem4f.c", line 18837: warning #112-D: statement is unreachable
Finished building: "../secure_iot.cfg"
 
        1 Datei(en) kopiert.
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory 'C:/Users/Yildiz/workspace_v8/secure_iot/src/sysbios'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory 'C:/Users/Yildiz/workspace_v8/secure_iot/src/sysbios'
Building file: "../EK_TM4C129EXL.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="EK_TM4C129EXL.d_raw" --cmd_file="configPkg/compiler.opt" "../EK_TM4C129EXL.c"
Finished building: "../EK_TM4C129EXL.c"
 
Building file: "../UARTUtils.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="UARTUtils.d_raw" --cmd_file="configPkg/compiler.opt" "../UARTUtils.c"
Finished building: "../UARTUtils.c"
 
Building file: "../board_funcs.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="board_funcs.d_raw" --cmd_file="configPkg/compiler.opt" "../board_funcs.c"
"../board_funcs.c", line 124: warning #169-D: argument of type "void (*)(void)" is incompatible with parameter of type "GPIO_CallbackFxn"
"../board_funcs.c", line 125: warning #169-D: argument of type "void (*)(void)" is incompatible with parameter of type "GPIO_CallbackFxn"
Finished building: "../board_funcs.c"
 
Building file: "../cloud_task.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="cloud_task.d_raw" --cmd_file="configPkg/compiler.opt" "../cloud_task.c"
 
>> Compilation failure
subdir_rules.mk:30: recipe for target 'cloud_task.obj' failed
"../cloud_task.c", line 31: fatal error #1965: cannot open source file "ti/net/http/wolfssl.h"
1 catastrophic error detected in the compilation of "../cloud_task.c".
Compilation terminated.
gmake: *** [cloud_task.obj] Error 1
Building file: "../command_task.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="command_task.d_raw" --cmd_file="configPkg/compiler.opt" "../command_task.c"
 
>> Compilation failure
subdir_rules.mk:37: recipe for target 'command_task.obj' failed
"../command_task.c", line 28: fatal error #1965: cannot open source file "ti/net/network.h"
1 catastrophic error detected in the compilation of "../command_task.c".
Compilation terminated.
gmake: *** [command_task.obj] Error 1
Building file: "../ntp_time.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="ntp_time.d_raw" --cmd_file="configPkg/compiler.opt" "../ntp_time.c"
 
>> Compilation failure
subdir_rules.mk:44: recipe for target 'ntp_time.obj' failed
"../ntp_time.c", line 27: fatal error #1965: cannot open source file "ti/net/network.h"
1 catastrophic error detected in the compilation of "../ntp_time.c".
Compilation terminated.
gmake: *** [ntp_time.obj] Error 1
Building file: "../secure_iot.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="secure_iot.d_raw" --cmd_file="configPkg/compiler.opt" "../secure_iot.c"
Finished building: "../secure_iot.c"
 
Building file: "../tictactoe.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --include_path="C:/ti/wolfssl-3.14.0-stable" --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/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --define=NET_NDK --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE --define=WOLFSSL_TIRTOS -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="tictactoe.d_raw" --cmd_file="configPkg/compiler.opt" "../tictactoe.c"
Finished building: "../tictactoe.c"
 
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hi Mark,

    The secure_iot example is using some files that were deprecated on TI-ROS v2.16.0.8, specifically “ti/net/http/sswolfssl.h”, you can try going back to TI-ROS v2.14.4.31 which is what this example was probably made to build with.

    Or you could also update the example to use TI-ROS v2.16.0.8. What this entails is “ti/net/http/sssl.h” and “ti/net/http/sswolfssl.h” files are deprecated. Instead, use “ti/net/tls.h” for configuring TLS. See the HTTPS examples in TI-RTOS product for usage details. You would also need to update the example's compiler include options as the Network Services was updated to be included as a package in the “packages/” subdirectory of the product.

    Hope that helps,
    Gerardo

  • Hello Mark,

    After writing my last comment I found the following patch that contains the changes needed to run the secure_iot example with your version of TI-RTOS: https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/498841

    Hope that helps,

    Gerardo