2024-03-12 01:25 PM
Hello,
I am using LwIP alongside a STM32F7. I am very new to network programming and I was wonder why the webpage is not updating when I modify the html code. If I visit the page via the IDE, the changes are there but on a live version of the site, nothing is updated. Is there a step I am missing to reflect the changes I make on the website?
Solved! Go to Solution.
2024-03-13 04:42 AM
Each time you edit the html files, you have to use the makefsdata.exe tool to create a new fsdata.c file, then copy it into the correct folder: ..\Middlewares\Third_Party\LwIP\src\apps\http
2024-03-12 02:12 PM
Webpage? which webpage?
2024-03-13 04:42 AM
Each time you edit the html files, you have to use the makefsdata.exe tool to create a new fsdata.c file, then copy it into the correct folder: ..\Middlewares\Third_Party\LwIP\src\apps\http
2024-03-13 09:12 AM
Thank you! I had a hunch that was the direction I needed to go. I am getting an error when trying to run the exe on windows.
makefsdata.exe- System Error
The code execution cannot proceed because MSVCR100D.dll was not found. Reinstalling the program may fix this problem.
Yet, reinstalling did not help, and I cannot find this library because it's a debug version which is strange. any ideas on how to get this working?
2024-03-13 09:29 AM
Sorry, I can't remember if I had this problem, and how I solved it.
I have admin rights on my work laptop, I guess I found that dll "somewhere" and copied it... somewhere else... :D
2024-03-13 10:04 AM
That is the debug version of the VisualC runtime library from VisualStudio2010. That is not usually required by production software. Are you building code (makefsdata.c) using the "debug" build configuration of VisualStudio? If so, try switching to the "Release" build configuration. Though if you have VisualStudio installed I would expect it to have installed the debug libraries as well.
If that doesn't work, a simple web search for that file name will tell you how to install it. If that worked before on your PC, perhaps something corrupted the existing installation. Re-installing should fix it.
2024-03-14 12:13 AM
@Bob S thanks for the info!
I think this makefsdata.exe tool came with some STM32 Cube / HAL package.
So maybe some ST people might help?
2024-03-14 05:41 AM - edited 2024-03-14 05:53 AM
It is here:
https://git.savannah.nongnu.org/cgit/lwip.git/tree/src/apps/http/makefsdata/
In two variants: as C source file and portable perl script.