2024-03-05 02:21 AM
Hi,
I have a Nucleo-F767ZI board, and am trying to configure it to use its LEDs, USART3 which is the virtual com port of the ST-Link on the board, and eth, I added LWIP, but I am unable to enable the LWIP_SOCKET as it requres to enable LWIP_NETCONN, by looking through the "General Settings" and "Key Options" with "Show Advanced Parameters" checkbox checked, I did not get a clue on how to do it.
Regards
Chao
Solved! Go to Solution.
2024-03-05 04:48 AM
Hello @Chao
To be able to enable the LWIP_SOCKET API, you should enable an operating system (FREERTOS for example).
Best Regards.
STTwo-32
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.
2024-03-05 04:48 AM
Hello @Chao
To be able to enable the LWIP_SOCKET API, you should enable an operating system (FREERTOS for example).
Best Regards.
STTwo-32
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.
2024-03-11 06:18 AM
Thank you!
I decide to use RAW API, and have seen that LWIP contains debug code, do you know how to switch on its debug functionality? I enabled all debug options for TCP, but found LWIP_DEBUG is not defined, I tried to do the define in lwipopts.h, but I found I still did not get it properly defined, at the moment I tempararily define it in debug.h and it works, but you know this is not the correct way to do it, debug.h is generated by CubeMX and I have to manually define it every time I change the .ioc file.
Regards
Chao
2024-03-11 06:24 AM
I'm not an expert on this. I suggest you close this topic by choosing a "best answer" since the original question is answered. Then, ask this question with more details in a new post to have better chance to have answer.
Best Regards.
STTwo-32
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.