cancel
Showing results for 
Search instead for 
Did you mean: 

lwIP - use of makefsdata

Di Ci
Associate II
Posted on November 02, 2017 at 14:29

Hi all,

i'm trying to customize html files that are hosted in a webserver running on my st32 nucleo f676zi with lwIP library.

The big issue is that i can't understand the correct usage of makefsdata script.

Actually, on a macbook, i call ./makefsdata and it works fine with html files, it generates a fsdata.c based on the folder on witch i have my html files.

But when i insert some .shtml files (SSI) the browser show me the pure html code without parsing it.

I think the problem should be on makefsdata script because with the original fsdata it works fine also with shtml files!

I found a .exe makefsdata here (

https://github.com/DuinOS/FreeRTOS/tree/master/FreeRTOS/Demo/WIN32-MSVC-lwIP/lwIP_Apps/apps/httpserver_raw_from_lwIP_download/makefsdata

 ) but when it's running on windows 10 it crashes due to the missing of MSVCR100D.dll library that i'm not able to fix.

Thanks in advance for the help.

2 REPLIES 2
Di Ci
Associate II
Posted on November 06, 2017 at 09:35

Any suggestions? Thanks

john doe
Lead
Posted on June 09, 2018 at 18:21

>But when i insert some .shtml files (SSI) the browser show me the pure html code without parsing it.

edit the perl script and add the mime type for shtml