Hi,
I imported the evkmimxrt1060_lwip_httpssrv_ota_freertos project from SDK (version 2.7.0). But I can't locate the html files related to this example. I couldn't find the mkfs folder with this project. Could you please let me know how to get the html and javascript files associated with this example?
Thanks & regards,
Rajani
I had difficulty to attach the html page now, it marked as malware was detected in the zip file.
could you please create a support case to me from below link. Please put my name "To Daniel Chen" in the subject. I will email it to you later.
Regards
Daniel
Hi Rajani:
Modifying content of static web pages
To modify content available through the web server you must complete following steps:
1. Modify, add or delete files in folder "middleware\lwip\src\apps\httpsrv\mkfs\web_pages".
2. Run the script file "middleware\lwip\src\apps\httpsrv\mkfs\mkfs.pl <directory name>" to generate new "httpsrv_fs_data.c".
For example:
$ ./mkfs.pl webpage
Processing file webpage/favicon.ico
Processing file webpage/httpsrv.css
Processing file webpage/index.html
Processing file webpage/NXP_logo.png
Processing file webpage/ota.shtml
Processing file webpage/ota_reboot.html
Processing file webpage/request.js
Processing file webpage/welcome.html
Done.
3. Overwrite the middleware\lwip\src\apps\httpsrv\httpsrv_fs_data.c file by the new generated httpsrv_fs_data.c file.
4. Re-compile the HTTP server application example and download it to your board.
Regards
Daniel
Hi Daniel,
In the SDK, there is a folder "middleware\lwip\src\apps\httpsrv\mkfs\web_pages". But the html files here are the normal http server example files, not for OTA. So in the imported project for evkmimxrt1060_lwip_httpssrv_ota_freertos, there are no html files. I want the files "ota.shtml" and "ota_reboot.html", assuming other files are the same for both projects!
Thanks & regards,
Rajani
Hi Daniel,
I am using MCUXpresso and the SDK example has no folder like the one you mentioned .(middleware\lwip\src\apps\httpsrv\mkfs\web_pages). The httpsrv_fs_data.c file is located at source folder!
I know how to modify the files as I have done it for a normal http server example. But in this case, those files/folders are missing!
Thanks & Regards,
Rajani