evkmimxrt1060_lwip_httpssrv_ota_freertos

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

evkmimxrt1060_lwip_httpssrv_ota_freertos

1,010 Views
rajani_kolani
Contributor III

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

Labels (1)
0 Kudos
4 Replies

973 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @rajani_kolani 

 

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.

https://support.nxp.com/s/

 

Regards

Daniel

0 Kudos

1,002 Views
danielchen
NXP TechSupport
NXP TechSupport

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

0 Kudos

994 Views
rajani_kolani
Contributor III

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

0 Kudos

999 Views
rajani_kolani
Contributor III

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

0 Kudos