How to enable building BSD in AzureRTOS NETX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable building BSD in AzureRTOS NETX

1,115 Views
michaeldkfowler
Contributor IV

Hello,

 I have tried enabling BSD Sockets in AzureRTOS be adding nx_bsd.c and nx_bsd.h to the src directory and adding #define TX_THREAD_EXTENSION_3 int bsd_errno; to tx_port.h . The project builds, but hangs after startup. How do I get BSD sockets working on the NXP build of AzureRTOS?

Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

1,080 Views
michaeldkfowler
Contributor IV

It seems it can't be done with the copy of AzureRTOS NXP ships. Cloning the repo from MS here: https://docs.microsoft.com/en-us/samples/azure-rtos/getting-started/connect-an-nxp-mimxrt1050-evkb-e... has a copy with BSD enabled.

0 Kudos
Reply

1,084 Views
DeffoWill
Contributor I

Did you ever get this working? I have tried on the 1170-evk and not been successful either.

0 Kudos
Reply