FRDM-K64F and KSDK lwip_httpserver_demo project


FRDM-K64F and KSDK lwip_httpserver_demo project

467 次查看
Contributor II

I've been able to successfully run this demo. However, I'd like to customize the web page that the demo serves up. I've searched everywhere in the demo code files, but I can't locate the html code for this page. Can someone point me to the location in the KSDK file structure where I can find the code to modify the web page that is served? If it matters I'm using the IAR EWARM tools.

标签 (1)
0 项奖励
1 回复

138 次查看
NXP Employee
NXP Employee

The web pages (in html) are in C:\Freescale\KSDK_1.1.0\demos\lwip_httpserver_demo\httpserver_bm\src\fs.

They need to be converted into a file for inclusion into the project.

This is accomplished using the makefsdata tool in C:\Freescale\KSDK_1.1.0\demos\lwip_httpserver_demo\httpserver_bm\src\makefsdata

It creates the file fsdata.c which is referenced in C:\Freescale\KSDK_1.1.0\demos\lwip_httpserver_demo\httpserver_bm\src\fs.c

So to make changes to the webpages, edit the html files and run the makefsdata script and rebuild your project.

0 项奖励