Enabling Support for File Types in an OS Design
Other versions of this page are also available for the following:
8/27/2008
This topic provides information about how to enable support for specific file types in an operating system (OS) design, so that you can copy a specific type of file to a target device and then execute that file on the device operating system.
Sysgen Variable Requirements
The following table shows file types and Sysgen variables that are required in an OS design to support those file types:
File type | Sysgen variable requirements |
---|---|
.txt files |
SYSGEN_PWORD |
.htm files |
SYSGEN_IE or SYSGEN_IESAMPLE |
.xml files |
SYSGEN_MSXML_MINI, SYSGEN_MSXML_DOM |
.gif files |
SYSGEN_IMAGING, SYSGEN_IMAGING_GIF_ENCODE, SYSGEN_IMAGING_GIF_DECODE |
.ico files |
SYSGEN_IMAGING, SYSGEN_IMAGING_ICO_DECODE |
.bmp files |
SYSGEN_IMAGING, SYSGEN_IMAGING_BMP_ENCODE, SYSGEN_IMAGING_BMP_DECODE |
.jpg, .jpeg files |
SYSGEN_IMAGING, SYSGEN_IMAGING_JPG_ENCODE, SYSGEN_IMAGING_JPG_DECODE |
.png files |
SYSGEN_IMAGING, SYSGEN_IMAGING_PNG_ENCODE, SYSGEN_IMAGING_PNG_DECODE |
.mp3 files |
SYSGEN_DSHOW_MP3 |
.wav files |
SYSGEN_DSHOW_WAV |
.wma files |
SYSGEN_DSHOW_WMA or SYSGEN_DSHOW_WMA_VOICE |
Procedure
To add support for a specific file type
In Platform Builder, choose Catalog Items View.
In the Catalog Item Search box, type the Sysgen variable, and then choose the green Search button.
Catalog Item Search automatically browses to the associated Catalog item.
Check the box associated with the highlighted Catalog item.
The next time that you build the OS design into a run-time image, the selected Catalog item will be included in your run-time image.
See Also
Concepts
How to Copy a File to a Target Device by Using File Viewer