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

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

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

Jump to solution
2,248 Views
davidrwhite
Contributor I

Hello,

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

David

.

0 Kudos
1 Solution
1,844 Views
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

View solution in original post

8 Replies
1,846 Views
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 Kudos
1,846 Views
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 Kudos
1,845 Views
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 Kudos
1,845 Views
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 Kudos
1,845 Views
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 Kudos
1,845 Views
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 Kudos
1,845 Views
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

1,845 Views
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 Kudos