Skip to main content
Di Ci
Associate II
November 2, 2017
Question

lwIP - use of makefsdata

  • November 2, 2017
  • 2 replies
  • 2144 views
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.

    This topic has been closed for replies.

    2 replies

    Di Ci
    Di CiAuthor
    Associate II
    November 6, 2017
    Posted on November 06, 2017 at 09:35

    Any suggestions? Thanks

    john doe
    Senior III
    June 9, 2018
    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