How to include NetX in FX3 project?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
LeRi_4466366
Level 1
Level 1
First like given

Hi I am looking into using NetX with an FX3.

I cannot find any of the functions described in the NetX_User_Guide (cannot find anything that starts with nx_ )

Is there a particular header file needed to be included to access these?

I am aware ThreadX is only provided in binary form, but I would expect the API calls to be exposed to the developer in a header file or something.

Final question, is there a guide for using NetX or generally ThreadX OS services with the FX3?

Thanks,

Levi Riley

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Levi Riley,

NetX is not supported by the TheradX binary that we use in FX3 SDK.

FX3APIGuide.pdf which is in the path: FX3_SDK_Install_Path\EZ-USB FX3 SDK\1.3\doc\firmware has the OS Service APIs listed. The corresponding ThreadX APIs can be related using the below header file:

FX3_SDK_Install_Path\EZ-USB FX3 SDK\1.3\firmware\fx3_sdk_1_3_4_src\sdk\firmware\include\cyu3tx.h

Regards,

Hemanth

Hemanth

View solution in original post

3 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Levi Riley,

NetX is not supported by the TheradX binary that we use in FX3 SDK.

FX3APIGuide.pdf which is in the path: FX3_SDK_Install_Path\EZ-USB FX3 SDK\1.3\doc\firmware has the OS Service APIs listed. The corresponding ThreadX APIs can be related using the below header file:

FX3_SDK_Install_Path\EZ-USB FX3 SDK\1.3\firmware\fx3_sdk_1_3_4_src\sdk\firmware\include\cyu3tx.h

Regards,

Hemanth

Hemanth

That is strange because in this post

ThreadX: Adding NetX (TCP/IP stack)

its says that "All of the ThreadX OS services are part of the library that we provide, and nothing has been filtered out. So, there should be no problem with getting NetX to work. "

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

In the post that is pointed out, referring to the comment "All of the ThreadX OS Services" - It does not mean NetX support. It just says what RTOS services that ThreadX provides are not removed - it refers to 'tx_' APIs.

Regards,

Hemanth

Hemanth