2018-05-27 03:03 AM
2018-05-27 03:09 AM
You need to build and run makefsdata, which is in Middlewares/Third_Party/LwIP/src/apps/httpd/makefsdata
2018-05-27 03:13 AM
Hello
Thank you for your reply
iddlewares/Third_Party/LwIP/src/apps/httpd/ there is not makefsdata file ,, i found fs and fsdata.h that is it
How to get the makefsdata and how it is related to fsdata.c please ?
2018-05-27 03:19 AM
I got the makefsdata file
Shall I import it in the projet? sorry but I did not understand how to use makefsdata to get the fsdata.c ?
2018-05-27 03:28 AM
Yes I am using LWIP in my project and I have activated from cubMX and I have all the files needed abotu lwip but I did not still understand how to use them to get the fsdata.c file please ??
2018-05-27 04:16 AM
I got the makefsdata.c from a project but I did not how to compile it for my host PC please ?? or how to download a precompiled ?EXE ?? it is not clear sorry can You help me more please ??
2018-05-27 04:44 AM
Can you explain to me more please ??
I am debutant in this
:(
Thank you in advance for your help
2018-05-27 05:16 AM
try the top of the repository, sorry
STM32Cube/Repository/STM32Cube_FW_F4_V1.21.0/Middlewares/Third_Party/LwIP/src/apps/httpd/makefsdata
makefsdata is a c program that generates fsdata.c [or fsdata_custom.c, if you so choose]
2018-05-27 05:26 AM
makefsdata is a stand-alone utility. I suggest browsing the LwIP documentation
2018-05-27 06:13 AM
You have either got to compile makefsdata.c for your host PC, or download a precompiled .EXE, and have it enumerate and process the directory/file structure you want the server to access. It creates a 'File System' where no storage media or subsystem exists.
I'm sure there are FAQ, tutorials and videos about this if you're remotely interested in learning how to use the tools.
An example use case can be found in the software trees
\STM32Cube_FW_F4_V1.21.0\Projects\STM324xG_EVAL\Applications\LwIP\LwIP_IAP\Src\fsdata.c