Integration with Visual Studio Toolbar

  1. Start Visual C++ 2008 Expression Edition.
  2. Make sure that all tools are integrated and appear as menu choices in the Tools menu.
  3. Select Tools > Customize .

    The Customize window appears.

  4. Select the Toolbars tab.
  5. Select New and enter a name. For example, Freescale Tools.

    A new empty toolbar named Freescale Tools appears on your screen, adjacent to the Customize window.

  6. Select the Commands tab.
  7. From the Category drop-down list box, select Tools .
  8. The right side of the window displays a list of commands. Search for the commands labeled External Command x, where x represents a number. This number corresponds to an entry in the Menu contents text box of the External Tools window. Count down the list in the External Tools window until you reach the first external tool you defined. For this example, it is HCS08 Compiler , and was the third choice on the menu. Therefore, the desired tool command would be External Command 3. Alternately, with Tools selected in the Customize window's Commands tab, click on the Tools menu and it display the menu choices, with the external commands displayed.
  9. Drag the desired command to the Freescale Tools toolbar.

    A button labeled External Tool 3 appears on the Freescale Tools toolbar.

    Tip: If the button appears dimmed, you have chosen an inactive external tool entry. Check your count value and try another external command entry.
  10. Continue with this same sequence of steps to add the HCS08 Linker and HCS08 Assembler.
  11. All of the default command names, such as External Command 3 , External Command 4 , and External Command 5 on the toolbar are undescriptive, making it difficult to know which tool to launch. You must associate a name with them.
  12. Right-click on a button in the Freescale Toolbar to open the button's context menu.
  13. Select Name from the context menu.
  14. Enter a descriptive name into the text field.
  15. Repeat this process for all of the tools that you want to display in the toolbar.
  16. Click Close to close the Customize window.

This enables you to start the CodeWarrior tools from the toolbar, as shown in the following figure.

Figure 1. CodeWarrior Tools in Custom Visual Studio Toolbar

CodeWarrior Tools in Custom Visual Studio Toolbar