cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Nucleo-F767ZI no ping IP

shef777
Associate II

STM32 Nucleo-F767ZI no ping IP

When I build project no error

I configured static IP 

And HTTPD enabled

I added next lines

#include "lwip/apps/httpd.h"

 

httpd_init();

 

while (1)

{

MX_LWIP_Process();

/* USER CODE END WHILE */

 

/* USER CODE BEGIN 3 */

}

/* USER CODE END 3 */

}

 

 

5 REPLIES 5
Imen.D
ST Employee

Hello @shef777 and welcome to the Community :)

I recommend you this working LwIP project for NUCLEO-F767ZI board and you can easily update it according to your needs:

STM32CubeF7/Projects/STM32F767ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS at master · STMicroelectronics/STM32CubeF7 · GitHub

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
shef777
Associate II

Sorry maybe I need look easy way.

Thank you

Have another way? Or step by step instruction how implementation web server

Imen.D
ST Employee

Hi @shef777 ,

I advise you this article for the LwIP in DHCP:

How to use the LwIP Ethernet middleware on the STM... - STMicroelectronics Community

using this article, with very minor tweaks, you should be able to have the webserver.

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee

Hi @shef777,

I recommend you follow the instructions (step by step) described in the attached Draft slides :)

This example was tested with the NUCLEO-H723 board, and the steps are early similar for the STM32F7.

(example Using NUCLEO-H723 board and STM32CubeIDE version 1.15)

Hope you will find in this resource all what you need as help.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen