- Start Visual C++ 2008 Expression Edition.
- Make sure that all tools are integrated and appear as menu choices in the
Tools
menu.
- Select
Tools > Customize
.
The
Customize
window appears.
- Select the
Toolbars
tab.
- 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.
- Select the
Commands
tab.
- From the
Category
drop-down list box, select
Tools
.
- 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.
- 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.
- Continue with this same sequence of steps to add the HCS08 Linker and HCS08 Assembler.
- 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.
- Right-click on a button in the Freescale Toolbar to open the button's context menu.
- Select
Name
from the context menu.
- Enter a descriptive name into the text field.
- Repeat this process for all of the tools that you want to display in the toolbar.
- 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
