2022-12-13 08: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 02: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
2023-01-02 07: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 07: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
2023-01-04 07:18 AM