2023-05-26 04:18 AM
I am trying to develop simple HTTP Web Server using NUCLEO-H745-ZIQ board.
The idea is to have file system to store our HTML web pages.
Do you have an example code to achieve this ? Or else please suggest us a way to have file system to load our html pages using NUCLEO-H745-ZIQ board.
Solved! Go to Solution.
2023-05-31 08:36 AM
Hi @PB S.1,
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-05-26 07:28 AM
2023-05-30 10:26 AM
Hello @PB S.1,
You can migrate the following example used for NUCLEO-H743 under Projects\NUCLEO-H743ZI\Applications\LwIP
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-05-31 12:18 AM
Hi @F.Belaid ,
I found an example project under the repository that you have mentioned.
I wanted to know how to generate fsdata_custom.c.
Suppose if I want to add my HTML web files, how to generate fsdata_custom.c corresponding to my web files?
2023-05-31 01:17 AM
Hello again @PB S.1,
To include "fsdata_custom.c" instead of "fsdata.c" for the file system (to prevent changing the file included in CVS) you should set this to 1.
#define HTTPD_USE_CUSTOM_FSDATA 1
You can find this define in lwipopts.h.
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-05-31 01:47 AM
Hi @F.Belaid ,
I am clear about the inclusion of "fsdata_custom.c" in the project.
But, my question is how to generate code contents inside the file "fsdata_custom.c" corresponding to my custom HTML web file?
2023-05-31 08:36 AM
Hi @PB S.1,
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-06-01 04:12 AM
Hai @F.Belaid .
Thank you for you response.
Regards,
Prashanth