eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
230 stars 131 forks source link

STM32CubeIDE BSD fd_set类型冲突 #108

Closed chengshuihang closed 2 years ago

chengshuihang commented 2 years ago

您好,我使用STM32CubeIDE环境,使能了BSD库,在编译过程中发生了类型冲突,我应该怎么解决? image image image

TiejunMS commented 2 years ago

你好,请尝试在工程里定义这些宏

-D__suseconds_t_defined -D_STRUCT_TIMEVAL -D_SYS_SELECT_H
chengshuihang commented 2 years ago

OK,谢谢!