What tools are used to convert HTML into C language arrays

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

What tools are used to convert HTML into C language arrays

ソリューションへジャンプ
4,418件の閲覧回数
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 件の賞賛
返信
1 解決策
4,240件の閲覧回数
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 件の賞賛
返信
5 返答(返信)
4,363件の閲覧回数
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 件の賞賛
返信
4,348件の閲覧回数
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 件の賞賛
返信
4,336件の閲覧回数
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 件の賞賛
返信
4,241件の閲覧回数
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 件の賞賛
返信
4,332件の閲覧回数
JohnDZhang
Contributor I

Thank you very much!

0 件の賞賛
返信