Hello,
I'm designing web server with Kinetis and I need to add small images to http response. Is it possible to include that files to flash at flashing image?
Thanks
Jan
Hi Jan,
Zhang has good information for you.
Inside KSDK_1.3 there are other options to investigate too but not well documented (yet).
Please review this post for one alternative:
And another alternative:
C:\Freescale\KSDK_1.3.0\tools\tfs_generator
This is a command line tool that will take one parameter as a path to a folder that contains your image files. It will process then into a TFS (trivial filesystem) file that you can then include in your project.
Example:
Open Windows Command Prompt to C:\Freescale\KSDK_1.3.0\tools\tfs_generator
Create a new folder (ex: mkdir test).
Copy several image files into the folder test.
Now while in the C:\Freescale\KSDK_1.3.0\tools\tfs_generator folder, type "mktfs.exe test" .
This will create a file nio_tfs_data.c that has your image files in it to be used in your project.
Regards,
David
Hi,
Freescale provides graphical user interface (GUI) solutions for embedded devices. Freescale’s PEG Pro, PEG Plus and PEG Lite product offering includes a GUI library for embedded development that works elegantly with real-time operating systems.
PEG Graphics Software|Freescale
the generation option can read out Binary File Format and generate the corresponding C/C++ code.
IDE can add the generated library to user project, burning flash , show the picture to screen.
does this answer your question?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------