MQX_KSDK_1.0.0\tcpip\rtcs\examples\httpsrv seems to be missing the web_pages folder and the mktfs.bat file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MQX_KSDK_1.0.0\tcpip\rtcs\examples\httpsrv seems to be missing the web_pages folder and the mktfs.bat file

跳至解决方案
2,493 次查看
davidrwhite
Contributor I

Hello,

Can you please send a link or attach a zip of these files?  Thanks!

David

.

0 项奖励
回复
1 解答
2,089 次查看
macl
Senior Contributor I

Hi,

See attached zip file with mktfs.exe (windows executable) and mktfs.pl (perl script alternative).   These are the actual files that get called from the other scripts to convert the data into Tivial File System -TFS (c arrays) for embedding in applications.  We apologize for the missing files in the KSDK v1.1 and KSDK v1.2 releases. 

Thanks,
Mac

在原帖中查看解决方案

8 回复数
2,091 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

Please check the attached.


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,091 次查看
ThomNet
Contributor III

Hi Daniel,

mktfs creates tfs_data.c, but how do I create nio_tfs_data.c.

Thanks for a short answer.

Thomas

0 项奖励
回复
2,090 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Thomas,

I ran a test with the attached file and it create nio_tfd_data.c correctly.

Please note that you may also edit httpsrv_main.c to match your html files and the subfolders where they are created.

As you can see the code is expecting index.html to be inside folder 'web' which is inside folder filesystem.

sprintf(indexes[i], "\\index.html");

params[i].root_dir = "tfs:\\web";

Regards,

Carlos

0 项奖励
回复
2,090 次查看
davidrwhite
Contributor I

Hello,

It seems like we need the "web" folder and the mktfs.bat to generate nio_tfs_data.c.  The old example has different html files in a folder called "web_pages".

Thanks,

David

.

0 项奖励
回复
2,090 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

I attached the httpsrv.zip, you can find the mktfs.bat and the web folder  in httpsrv/filesystem/web , please check it

0 项奖励
回复
2,090 次查看
thom_nic
Contributor II

mktfs.bat and mktfs.sh scripts are just wrappers for mktfs.exe and mktfs.pl executables.  Those are the actual files that are needed and are still missing from KSDK 1.2.

0 项奖励
回复
2,090 次查看
macl
Senior Contributor I

Hi,

See attached zip file with mktfs.exe (windows executable) and mktfs.pl (perl script alternative).   These are the actual files that get called from the other scripts to convert the data into Tivial File System -TFS (c arrays) for embedding in applications.  We apologize for the missing files in the KSDK v1.1 and KSDK v1.2 releases. 

Thanks,
Mac

2,090 次查看
davidrwhite
Contributor I

Hello Daniel,

Thanks for the reply but I think these are not the web pages that are for the ~Freescale\MQX_KSDK_1.0.0\tcpip\rtcs\examples\httpsrv project.  When I look at the nio_tfs_data.c file, it shows a new and revised set of web pages.

Is there a github or some current web site that has the current and understood to be work in progress examples?

Thanks,

David

.

0 项奖励
回复