Skip to main content
Associate II
Oct 26, 2026 7:57 PM UTC
Solved

How do I NetXDuo?

I am working with NUCLEO-H563ZI. We started with threadX. Out of ignorance, I used LwIP because I knew of it. I got it installed and found out it works with FreeRTOS, not threadX, and I should be using NetX.  New Project time. Generate Code with ThreadX and NetX. I see all my files, the standard files and app_threadx files.  I see a NetXDuo folder, but I see no netx files in the Core folder to connect up ThreadX and NetX.  NetX files compile (and my compiles now take more than 40 second to compile), but there is no connection between main.c or app_threadx.c and netx.  Is there a step-by-step tutorial to use netx?  I see several topics on netx but I don’t see any “How to plug in NetX” tutorials or anything similar.  

I am swimming in shark-infested waters, and I don’t even have a boat to avoid being eaten or drowning.

Obviously, any help is appreciated.  Thanks in advance for directing me to instructions.

MOBEJ
MOBEJBest answer
ST Employee
Oct 27, 2026 8:44 AM UTC

Hello ​@whascal 

I’d start with ST’s Nx_UDP_Echo_Server example for NUCLEO-H563ZI. Open its STM32CubeIDE project from the STM32CubeH5 package and follow the setup instructions. It already includes the ThreadX integration and instructions to build and run it, so you can get it working first, then adapt it to your application.

Br

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

3 replies

MOBEJ
MOBEJBest answer
ST Employee
Oct 27, 2026 8:44 AM UTC

Hello ​@whascal 

I’d start with ST’s Nx_UDP_Echo_Server example for NUCLEO-H563ZI. Open its STM32CubeIDE project from the STM32CubeH5 package and follow the setup instructions. It already includes the ThreadX integration and instructions to build and run it, so you can get it working first, then adapt it to your application.

Br

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
whascalAuthor
Associate II
Oct 27, 2026 11:52 AM UTC

That is just what the doctor ordered!  Thanks!

Andrew Neil
Super User
Oct 27, 2026 12:42 PM UTC

 found out [LwIP] works with FreeRTOS, not threadX

Not (entirely) true, but probably best to stick to the path most travelled - unless you really know what you’re doing:

https://stackoverflow.com/questions/79162686/is-there-a-way-to-enable-lwip-while-using-rtos-threadx

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.