Thread 中讨论的其他器件: SYSBIOS
工具/软件:TI-RTOS
大家好,
我按照此页面http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS#WolfSSL" 运行 GitHub 示例代码(tcpEcho_Server_TivaTM4C1294NCPDT),但失败。
wolfsl libary 已成功构建。 但当示例代码引用 wolfsl libary 时,它似乎不起作用。
****为项目 tcpEcho_Server_TivaTM4C1294NCPDT 构建配置调试****
"C:\\ti\\ccsv7\\utils\\bin\\gmake"-k all
gmake[1]:输入目录'C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/Debug
'生成文件:./tcpEcho.cfg '
'调用: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/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/uia_2_00_05_50/packages;C:ti.platforms.tiva:TM4C1294NCPDT;C:/ti/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;C:/ti/tirtos_tivac_2_16_00_08/packages /ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages /ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf "c:cfg.c:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS -tcfg -m.c:c:tcfg -r.c:。
正在制作 package.mak (由于 package.bld)...
正在为软件包 configPkg 生成接口(因为 package/package.xdc.inc 比 package.XDC 旧)...
从 package/cfg/tcpEcho_pem4f.cfg 配置 tcpEcho.xem4f ...
错误:找不到 wolfSSL 库! 确保构建 wolfSSL 库并更新构建工具的封装路径以查找库。 更多详细的 wolfSSL 构建说明可在 TI-RTOS 用户指南中找到。
正在生成自定义 ti.sysbios 库 makefile ...
正在开始构建库源...
制作 C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/src/sysbios/sysbios.aem4f ...
gmake[1]:输入目录`C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/src/sysbios
gmake[1]:没有为`all '执行任何操作。
gmake[1]:离开目录`C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/src/sysbios
已完成库构建。
clem4f 封装/cfg/tcpEcho_pem4f.c……
警告:tirtos.TIRTOS:"c:/ti/tirtos_tivac_2_16_00_08/packages/ti/tirtos/TIRTOS.xs,第49行:tirtos.TIRTOS:ti_tirtos.TIRTOS 模块不再需要配置驱动程序工具。 请改用 ti.drivers.Config 和 ti.mw.Config 模块。
'已完成构建:.../tcpEcho.cfg'
'
gmake[1]:离开目录'C:/Users/Brenden/workspace_v7/tcpEcho_Server_TivaTM4C1294NCPDT/Debug
'生成文件:../EK_TM4C1294XL.c'
'调用:ARM 编译器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl /packages/ti/ndk/inc/bsd -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/wolfssl-3.12.0 /ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include --include_path="/packages/ti/ndk/inc /ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.0.12573c --include_path="ccs_define=ccs_remote_code.ctr-code_define=ccs_code_define=t94xr_decon_code.c -ctr-ctr-code.ccs_code.ctr-ctr-code_define=ccs_code_define=ctr-ctr-ctr-code_remote_remote_remote_remote_remote_code.ctr-ctr-code.ctr-ctr-ctr-ctr-ccs_code.ctr-ctr-ctr-code_remote_remote_remote_remote_remote_remote_code.ctr-ctr-ctr-ctr-ctr-ctr-ctr-ctr-ctr-ctr-code.ctr-ctr-ctr-
>>编译失败
subdir_rules.mk:9:目标'EK_TM4C1294XL.obj'的配方失败
"./EK_TM4C1294XL.c"、第65行:致命错误#1965:无法打开源文件"inc/hw_memmap.h"
1在编译"../EK_TM4C1294XL.c"时检测到灾难性错误。
编译已终止。
gmake:***[EK_TM4C1294XL.obj]错误1.
'生成文件:./tcpEcho.c'
'调用:ARM 编译器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl /packages/ti/ndk/inc/bsd -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti/wolfssl-3.12.0 /ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include --include_path="/packages/ti/ndk/inc /ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.0.12573c --include_path="ccs_define=ticon_code.combulation=tccs_code.comb_code.comb_code.compric=tccs_code.comb_code.comb_code.comb_code.comp -code.comp -code.tccs_code.comb_code.comp -code.comp -code.tccs=tic_dec_dec_dec.tr-code.com_code.com_code.comp -code.comb.tr-code.comb.tr-code.comb.tr-code.com_code.comb.tr-code.com_code.comb.tr-code.com_code.com_code.com_code.com_code.comp
>>编译失败
subdir_rules.mk:16:目标'tcpEcho.obj'的配方失败
"./tcpEcho.c"、第50行:致命错误#1965:无法打开源文件"sys/socket.h"
1在编译"../tcpEcho.c"时检测到灾难性错误。
编译已终止。
gmake:***[tcpEcho.obj]错误1.
gmake:目标"全部"不会由于错误而重新生成。
****构建完成****
以下是我 的软件环境:
tirtos_tivac_2_16_00_08
沃尔夫斯尔-3.12.0
wolfsl 编译设置:
编号
#=========== products.mak =====
编号
编号
#阅读 processors.wiki.ti.com/.../Using_wolfSSL_with_TI-RTOS
#、了解下载所需软件的说明。
# XDC_INSTALL_DIR 是 XDCtools 目录的路径。
XDC_INSTALL_DIR = C:/ti/xdctools_3_32_00_06_core
# BIOS_install_DIR 是 TI-RTOS 内核(SYS/BIOS)目录的路径。 如果你
#已安装 TI-RTOS,它位于 products/BIOS_*路径中。
BIOS_install_DIR = C:/ti/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29
# NDK_INSTALL_DIR 是 TI-RTOS NDK 目录的路径。 如果您有的话
#已安装 TI-RTOS,它位于 products/NDK_*路径中。
NDK_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09
# TIVAWARE_INSTALL_DIR 是 Tivaware driverlib 目录的路径。 如果您有的话
#已安装 TI-RTOS,它位于 products/TivaWare_*路径中。
TIVAWARE_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b
#定义 TI、IAR 和 GCC ARM 编译器的代码生成工具路径。
#如果您已安装 Code Composer Studio、则 TI 和 GCC 编译器是
位于 ccsv*/tools/compiler /*路径中的#。
编号
#将分配保留为空以禁用任何工具链。
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
代码: e2e.ti.com/.../tcpEcho_5F00_Server_5F00_TivaTM4C1294NCPDT.zip
请在这方面提供帮助,谢谢。





