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.

[参考译文] TMS570LC4357:以太网 LWIP 堆栈集成

Guru**** 2484615 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/725785/tms570lc4357-ethernet-lwip-stack-integration

器件型号:TMS570LC4357

在本页的 lwip 以太网示例processors.wiki.ti.com/.../HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration 中、我发现 LWIP 堆栈中的一些文件已从编译中排除、但排除的文件也包含接口文件。 在调试时、我发现运行时程序也会转到排除的文件。 如果包含这些排除的文件、它们将引发大量错误。 删除这些排除文件也将不起作用。  

那么、从编译中排除文件实际上意味着什么?

请作出答复。

此致

Anandhu Ramesh

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

    您好 Ramesh、

    这些 c 源文件已包含在 lwiplib.c 中  

    在本例中、您希望链接器仅处理 lwiplib.obj、而不处理其他 obj (因为其代码已包含在 lwiplib.obj 中)。 这就是为什么从工程中排除这些文件的原因:

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

    谢谢你