Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi all ,
I follow this page "http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS#WolfSSL" to run github exmaple code (tcpEcho_Server_TivaTM4C1294NCPDT) but fail .
The wolfssl libary was build successfully . but it seems not work while example code refer to wolfssl libary .
**** Build of configuration Debug for project tcpEcho_Server_TivaTM4C1294NCPDT ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all
gmake[1]: Entering directory 'C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/Debug'
'Building file: ../tcpEcho.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/wolfssl/tirtos/packages;/packages;/packages/ti/ndk/inc;C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_40_02_27/packages;C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_23_01_01/packages;C:/ti/tirtos_tivac_2_16_00_08/products/uia_2_00_01_34/packages;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:TM4C1294NCPDT -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS" "../tcpEcho.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring tcpEcho.xem4f from package/cfg/tcpEcho_pem4f.cfg ...
Error: Could not find wolfSSL library! Make sure the wolfSSL library is built and package path is updated for the build tool to find the library. More detailed wolfSSL build instructions can be found in the TI-RTOS user guide.
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/src/sysbios'
Build of libraries done.
clem4f package/cfg/tcpEcho_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.
'Finished building: ../tcpEcho.cfg'
' '
gmake[1]: Leaving directory 'C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/Debug'
'Building file: ../EK_TM4C1294XL.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/wolfssl-3.12.0" --include_path="/packages/ti/ndk/inc" --include_path="/packages/ti/ndk/inc/bsd" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=PART_TM4C1294NCPDT --define=TIRTOS --define=ccs --define=TIVAWARE --define=_INCLUDE_NIMU_CODE --define=ccs="ccs" --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="EK_TM4C1294XL.d_raw" --cmd_file="configPkg/compiler.opt" "../EK_TM4C1294XL.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'EK_TM4C1294XL.obj' failed
"../EK_TM4C1294XL.c", line 65: fatal error #1965: cannot open source file "inc/hw_memmap.h"
1 catastrophic error detected in the compilation of "../EK_TM4C1294XL.c".
Compilation terminated.
gmake: *** [EK_TM4C1294XL.obj] Error 1
'Building file: ../tcpEcho.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/wolfssl-3.12.0" --include_path="/packages/ti/ndk/inc" --include_path="/packages/ti/ndk/inc/bsd" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --include_path="C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.0.12573c" -g --gcc --define=PART_TM4C1294NCPDT --define=TIRTOS --define=ccs --define=TIVAWARE --define=_INCLUDE_NIMU_CODE --define=ccs="ccs" --display_error_number --diag_wrap=off --diag_warning=225 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="tcpEcho.d_raw" --cmd_file="configPkg/compiler.opt" "../tcpEcho.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'tcpEcho.obj' failed
"../tcpEcho.c", line 50: fatal error #1965: cannot open source file "sys/socket.h"
1 catastrophic error detected in the compilation of "../tcpEcho.c".
Compilation terminated.
gmake: *** [tcpEcho.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Here is my software enviroment :
tirtos_tivac_2_16_00_08
wolfssl-3.12.0
wolfssl compile setting :
#
# ======== products.mak ========
#
#
# Read the http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS
# for instructions to download the software required.
# XDC_INSTALL_DIR is the path to XDCtools directory.
XDC_INSTALL_DIR = C:/ti/xdctools_3_32_00_06_core
# BIOS_INSTALL_DIR is the path to TI-RTOS Kernel (SYS/BIOS) directory. If you
# have installed TI-RTOS, it is located in the products/bios_* path.
BIOS_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29
# NDK_INSTALL_DIR is the path to TI-RTOS NDK directory. If you have
# installed TI-RTOS, it is located in the products/ndk_* path.
NDK_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09
# TIVAWARE_INSTALL_DIR is the path to Tivaware driverlib directory. If you have
# installed TI-RTOS, it is located in the products/TivaWare_* path.
TIVAWARE_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b
# Define the code generation tools path for TI, IAR and GCC ARM compilers.
# If you have installed Code Composer Studio, the TI and GCC compiler are
# located in the ccsv*/tools/compiler/* path.
#
# Leave assignment empty to disable any toolchain.
ti.targets.arm.elf.M4F = C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS
iar.targets.arm.M4F =
gnu.targets.arm.M4F =
ccs: 7.3.0.00019
code : tcpEcho_Server_TivaTM4C1294NCPDT.zip
please help on this , thanks .