FRDM-K64F and KSDK lwip_httpserver_demo project

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

FRDM-K64F and KSDK lwip_httpserver_demo project

865 Views
reddeuce
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.

Labels (1)
0 Kudos
Reply
1 Reply

536 Views
bonzo
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 Kudos
Reply