2022-12-13 8:26 AM
I have adapted the Nx_Azure_IoT example for my board with an STM32U585QII6Q. My problem is that every time STM32CubeMX regenerates the code, it deletes three files that I added: nx_tcp_socket_driver_establish.c, nx_tcp_socket_driver_packet_receive.c and nx_udp_socket_driver_packet_receive.c. I have checked the NETXDUO settings in the example of the nx_udp_socket_driver_packet_receive.c board and those of my board and they are identical. Why does the original project include these files and mine doesn't?
Thanks
2022-12-26 2:34 AM
Hello @JVica.1
First let me thank you for posting.
I tried to reproduce the same behavior you encountered but it works fine from my side.
To be able to push further the analysis could you please provide a minimal project which show the problem.
I'll be waiting for your feedback.
Thx.
Ghofrane
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.
2023-01-02 7:25 AM
Hi Ghofrane, sorry for the delay in reply. I solved the problem by creating a Middlewares\ST\netxduo\reserved\ folder where I put the files. Otherwise, MX deletes these files from the Middlewares\ST\netxduo\common\src\ folder. I suspect it is some difference in the Netxduo configuration. Please tell me how I can share the project with you.
Thanks Javier
2023-01-02 7:40 AM
Hello @JVica.1
Thank you for your reply
You need to ZIP your project and go to this icon
in order to attach it .
I' will be waiting for your feedback
Thx
Ghofrane
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.
2023-01-04 7:18 AM