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.

[参考译文] EK-TM4C1294XL:EK-TM4C1294XL

Guru**** 2455360 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1495488/ek-tm4c1294xl-ek-tm4c1294xl

器件型号:EK-TM4C1294XL

工具与软件:

您好!

在项目 enet_lwip 中、我想启用套接字选项。

将 LWIP_SOCKET 定义为1会导致很多编译错误。

您能给我推荐一个使用套接字样式接口的示例项目吗?

此致

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

    您好!

     尽管 lwIP 可以支持基于套接字的 API、但我们没有任何示例。 我们拥有的所有以太网示例都仅使用原始样式 API、抱歉。 请注意、lwIP 套接字样式的实现需要 RTOS。  

     您可能需要 查看基于 TI-RTOS 的以太网示例。 这些示例使用 TI-RTOS NDK TCP/IP 栈并使用 BSD 套接字样式的 API。