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.

[参考译文] CCS/RM57L843:使用 LwIP 2.1.2堆栈而不是1.4.0

Guru**** 2535490 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/962374/ccs-rm57l843-using-lwip-2-1-2-stack-instead-of-1-4-0

器件型号:RM57L843

工具/软件:Code Composer Studio

您好!

我首先使用的是 LwIP 1.4.0堆栈,但在使用此堆栈时,我的代码卡在 hdkif_transmit ()->hdkif_swimming_data()函数中。

现在我想从 LwIP 1.4.0转换到2.1.2、我尝试删除以前的 LwIP 堆栈并替换为2.1.2版本、但在编译代码时、我会遇到很多错误。

此外 、在 LwIP 2.1.2堆栈中没有其他文件包含任何文件、如 hdkif.c 和 hdkif.h。

我还添加了要在工程属性中包含选项的文件、但它不适用于我。

有人能告诉我如何将 LwIP 堆栈从版本1.4.0切换到版本2.1.2吗?

谢谢

Pratik  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Pratik、您好!  

    您需要将 sys_arch.c、sys_arch.h、hdkif.c、hdkif.h 从 lwip-1.4.1/端口复制到 lwip2.1.2/ports 文件夹。

    需要更新 lwiplib.c 以包含 sys_arch.c 和 hdkif.c