cancel
Showing results for 
Search instead for 
Did you mean: 

how to g

Jessy J
Associate II
 
25 REPLIES 25
john doe
Lead
Posted on May 27, 2018 at 12:09

You need to build and run makefsdata, which is in Middlewares/Third_Party/LwIP/src/apps/httpd/makefsdata

http://lwip.wikia.com/wiki/Sample_Web_Server

 
Jessy J
Associate II
Posted on May 27, 2018 at 12:13

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 ? 

Jessy J
Associate II
Posted on May 27, 2018 at 12:19

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 ?

Jessy J
Associate II
Posted on May 27, 2018 at 12:28

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 ??

Jessy J
Associate II
Posted on May 27, 2018 at 13:16

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 ?? 

Jessy J
Associate II
Posted on May 27, 2018 at 13:44

Can you explain to me more please ?? 

I am debutant in this

:(

Thank you in advance for your help 

Posted on May 27, 2018 at 12:16

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]

Posted on May 27, 2018 at 12:26

makefsdata is a stand-alone utility.  I suggest browsing the LwIP documentation

http://lwip.wikia.com/wiki/LwIP_Wiki

 
Posted on May 27, 2018 at 13:13

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..