Hello,
Can you please send a link or attach a zip of these files? Thanks!
David
.
Solved! Go to Solution.
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
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!
-----------------------------------------------------------------------------------------------------------------------
Hi Daniel,
mktfs creates tfs_data.c, but how do I create nio_tfs_data.c.
Thanks for a short answer.
Thomas
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
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
.
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.
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
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
.