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,409件の閲覧回数
davidrwhite
Contributor I

Hello,

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

David

.

0 件の賞賛
返信
1 解決策
2,005件の閲覧回数
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,007件の閲覧回数
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,007件の閲覧回数
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,006件の閲覧回数
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,006件の閲覧回数
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,006件の閲覧回数
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,006件の閲覧回数
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,006件の閲覧回数
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,006件の閲覧回数
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 件の賞賛
返信