KSDK HTTP server application using KSDK lwIP and FreeRTOS Changing Static Website pages

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KSDK HTTP server application using KSDK lwIP and FreeRTOS Changing Static Website pages

401件の閲覧回数
MWMinor
Contributor V

Hi

I am trying to change the content of the web pages in the lwip demo app http freertos.

The documtation says..

To modify content available through the web server you must complete following steps:
1. Modify, add or delete files in folder "middleware\lwip_2.0.0\src\apps\httpsrv\mkfs\web_pages".
2. Run the script file "middleware\lwip_2.0.0\src\apps\httpsrv\mkfs\mkfs.pl <directory name>" to generate new "httpsrv_fs_data.c".
For example:
C:\sdk\middleware\lwip_2.0.0\src\apps\httpsrv\mkfs> mkfs.pl webpage
Processing file webpage/auth.html
Processing file webpage/cgi.html
Processing file webpage/favicon.ico
Processing file webpage/help.html
Processing file webpage/httpsrv.css
Processing file webpage/index.html
Processing file webpage/NXP_logo.png
Processing file webpage/poll.html
Processing file webpage/request.js
Processing file webpage/ssi.shtml
Processing file webpage/welcome.html
Done.
3. Overwrite the middleware\lwip_2.0.0\src\apps\httpsrv\httpsrv_fs_data.c file by the new generated middleware\lwip_2.0.0\src\apps\httpsrv\mkfs\httpsrv_fs_data.c file.
4. Re-compile the HTTP server application example and download it to your board.

 

But the html pages are located in a directory..

MWMinor_0-1715841535301.png

 

whilst the mkfs.pl programme is located in a different directory..

MWMinor_1-1715841535304.png

 

and neither of them make reference to middleware\lwip_2.0.0\.... so I am confused.

Can anyone shine any light please...??

Thanks

 

0 件の賞賛
返信
1 返信

312件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that you have to install perl on your PC, then try based on the readme.txt.

Hope it can help you

BR

XiangJun Rong

 

0 件の賞賛
返信