How to generate new pages for HVAC demo

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

How to generate new pages for HVAC demo

Jump to solution
623 Views
jesperevertsson
Contributor IV

Hi, I've recently downloaded the KSDK 1.3 and been running a few examples on the TWR-K65F180M. In the web_hvac demo there are a few web pages that are stored as .h files, for example index_html.h. I was wondering how those files were generated. In the catalogue tools/tfs_generator there is a .exe file that can generate .c files that look almost the same but there all html code is put in a single file. In the web_hvac demo every page has it's own file. Is there a similar utility program for generating the same -h files, but for custom web pages?

Labels (1)
1 Solution
427 Views
DavidS
NXP Employee
NXP Employee

Hi Jesper,

Not sure how the web_hvac web pages keep getting left out.  Not sure why it changed to independent files too.  But suspect that was compromise to support more than MQX as the RTOS/OS.

An older post had the following: web_hvac web_pages files

The KSDK_1.3\tools\tfs_generator\mktfs.exe will generate one "C" file that has all of the contents of one folder in "C" structures with the actual pseudo FAT table at bottom of file.  So the example for that folder would be "mktfs.exe test" that then generates the "nio_tfs_data.c" file.

Regards,

David

PS

Please not the KSDK_v2 just was released and has support for TWR-K65F180M.....haven't tried it yet but soon will.

Kinetis Design Studio V3.x with Kinetis SDK V2.0

View solution in original post

1 Reply
428 Views
DavidS
NXP Employee
NXP Employee

Hi Jesper,

Not sure how the web_hvac web pages keep getting left out.  Not sure why it changed to independent files too.  But suspect that was compromise to support more than MQX as the RTOS/OS.

An older post had the following: web_hvac web_pages files

The KSDK_1.3\tools\tfs_generator\mktfs.exe will generate one "C" file that has all of the contents of one folder in "C" structures with the actual pseudo FAT table at bottom of file.  So the example for that folder would be "mktfs.exe test" that then generates the "nio_tfs_data.c" file.

Regards,

David

PS

Please not the KSDK_v2 just was released and has support for TWR-K65F180M.....haven't tried it yet but soon will.

Kinetis Design Studio V3.x with Kinetis SDK V2.0