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

Is there a define to know if Netxduo has been added to the build? #87

Closed josesimoes closed 2 years ago

josesimoes commented 2 years ago

Hi,

This may sound a bit dumb of a question, but I can't find a satisfactory answer by looking at the code... In ThreadX, there is this define AZURE_RTOS_THREADX that can be used to know if ThreadX has been brought into the build. I can't find an equivalent define for NetX. Is there one?

TiejunMS commented 2 years ago

The equivalent define of NetX Duo is AZURE_RTOS_NETXDUO.

josesimoes commented 2 years ago

Confirmed: it was a dumb question... 😯 🤦🏻‍♂️ 😅 I've must have mistype it in my searches and completely missed it. @TiejunMS thanks!