Partager via


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

  1. From the Tools menu, choose CEC Editor.

  2. From the File menu, browse to the location of your .cec file and then choose Open.

  3. 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.

  4. (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.

  5. (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.

  6. (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.

    1. in the Build File field, enter the directory path to a dirs, sources, or makefile file.
    2. In the Display Name field, enter the name you want to display in the IDE.
    3. To save your changes, choose OK.
  7. (Optional) If you want to associate a Help documentation (.chm) file with your item, do the following.

    1. From the Insert menu, choose Documentation Link.
    2. In the Help File field, enter the directory path to the selected .chm file.
    3. To save your changes, choose OK.
  8. (Optional) If you want to associate a Platform Builder project (.pbpxml) file with your item, do the following:

    1. From the Insert menu, choose Project Link.
    2. In the Project File field, enter the directory path to the selected .pbpxml file.
  9. (Optional) If you want to display child groups under the Catalog item for your item in the Catalog, do the following:

    1. 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.

    2. Save your settings by choosing OK.

  10. 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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.