What tools are used to convert HTML into C language arrays

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

What tools are used to convert HTML into C language arrays

Jump to solution
854 Views
JohnDZhang
Contributor I

I used LPC54628, designed web server. I found SDK lwip_httpsrv. I can modify HTML file, but which tools can convert HTML to C language arrays? Many thanks!

0 Kudos
Reply
1 Solution
676 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

This is AE reply:
"

in SDK's "\middleware\lwip\src\apps\http\makefsdata" folder, there is makefsdata source code for convert HTML to C, customer need use Visual Studio to compile it to exe or other compiler tools for PC OS.

Visual Studio project under folder "middleware\lwip\contrib\ports\win32\msvc"

"

Hope it can help you

BR

XiangJun Rong

View solution in original post

0 Kudos
Reply
5 Replies
799 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

For HTTP server, it uses CGI protocol.

Pls search the CGI protocol for the http server.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1708416482008.png

 

0 Kudos
Reply
788 Views
JohnDZhang
Contributor I

Many thanks for your reply! What I mean is how to convert HTML files into arrays in C language, not how to parse CGI.

For example, the auth.xml in my picture has been converted to "static const unsigned char httpsrv_fs_webpage_auth_html[]"

0 Kudos
Reply
776 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

it appears that the https://realtimelogic.com is used.

Anyway I have asked the AE team, I will update after I get reply.

BR

XiangJun Rong

0 Kudos
Reply
677 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

This is AE reply:
"

in SDK's "\middleware\lwip\src\apps\http\makefsdata" folder, there is makefsdata source code for convert HTML to C, customer need use Visual Studio to compile it to exe or other compiler tools for PC OS.

Visual Studio project under folder "middleware\lwip\contrib\ports\win32\msvc"

"

Hope it can help you

BR

XiangJun Rong

0 Kudos
Reply
772 Views
JohnDZhang
Contributor I

Thank you very much!

0 Kudos
Reply