Customizing a .cec File Using the CEC Editor (Windows CE 5.0)
If you used the BSP Wizard to create a Catalog item (.cec) file, you can use the CEC Editor to further customize the file for your needs, such as adding support for microprocessors.
For more information about these tools, see BSP Wizard Overview and CEC Editor.
To use the CEC Editor to modify a Catalog item file
From the Tools menu, choose CEC Editor.
From the File menu, browse to the location of your .cec file and then choose Open.
In the left pane of the CEC Editor, select the icon for your Catalog item; then, in the right pane, choose the Compatibility tab; then, in the CPUs field, choose the microprocessors you want to support your item with.
- or -
Choose the Standard button to choose the default CPUs that are installed on your development workstation.
(Optional) Choose the Variables tab.
You can modify or remove the value in the BSP Directory field to reflect the BSPs that can use your Catalog item.
It is recommended that you leave this field blank, which enables your item to be used with any BSP.
(Optional) In the Name and Value fields, add the name and value of additional variables that your item sets.
For information about variables you can add, see Environment Variables.
(Optional) If you want to enable browsing in the IDE of the source code for your item, from the Insert menu, choose Source Browsing Link, and then do the following.
- in the Build File field, enter the directory path to a dirs, sources, or makefile file.
- In the Display Name field, enter the name you want to display in the IDE.
- To save your changes, choose OK.
(Optional) If you want to associate a Help documentation (.chm) file with your item, do the following.
- From the Insert menu, choose Documentation Link.
- In the Help File field, enter the directory path to the selected .chm file.
- To save your changes, choose OK.
(Optional) If you want to associate a Platform Builder project (.pbpxml) file with your item, do the following:
- From the Insert menu, choose Project Link.
- In the Project File field, enter the directory path to the selected .pbpxml file.
(Optional) If you want to display child groups under the Catalog item for your item in the Catalog, do the following:
From the Insert menu, choose NewChild Group or Existing Child Group(s), and then do the following.
-If you are inserting a new child group, in the Name field, enter a name for the child group and any other information you want; then, if your item requires this group, select Parent node requires this group.
-If you are inserting an existing child group, from the list, select the groups you want to display under your driver; then, if your item requires this group, select Parent node requires this group.
Save your settings by choosing OK.
After you make your changes, from the File menu, choose Save.
See Also
BSP Wizard Overview | CEC Editor | Device Drivers and the Platform Builder IDE | Creating a .cec File for a Driver | Device Driver Development Overview | Dirs File | Sources File
Last updated on Thursday, February 02, 2006
Send Feedback on this topic to the authors