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.
工具与软件:
我正在尝试配置 lwip 1.4.1。 我使用 enet_static-ip_lwip_tcpecho 服务器示例。
我所做的更改是断言宏
#define NO SYS 1
#define LWIP_STATS 1.
#define tcp_stats (LWIP_TCP)
#define SYS_STATS 1.
#define TCPIP_THREAD_STACKSIZE 1024.
我在 sysarch.h 中加入了 stats.h
进行上述修改是为了消除一些编译错误。
但有一个待处理的错误是 sys.h 中未定义的 sys_mutex_t
该怎么办?
您好!
Unknown 说:]>#define no SYS 1.
#define LWIP_STATS 1.
#define tcp_stats (LWIP_TCP)
#define SYS_STATS 1.
#define TCPIP_THREAD_STACKSIZE 1024[/报价]我也这样做来取消对上述宏的注释、并且我看不到任何编译错误。 请注意、在上面的代码中、你有 #define NO SYS 1.不知道你是不是把它写错了或者什么。 首先、它应该是 NO_SYS、不应该是 SYS。
![]()
您好!
有一个有关 FreeRTOS 的 lwIP 示例、其中 NO_SYS 设置为0。 请使用此示例作为起点。
这篇文章也很有帮助。