This section demonstrates creating a new project using the
New Bareboard Project
wizard.
- Select Start > Programs > Freescale CodeWarrior > CW for MCU v10.x > CodeWarrior.
The
Workspace Launcher
dialog box appears, prompting you to select a workspace
to use.
- Click OK to accept the default workspace. To use a workspace different from the default, click the Browse button and specify the desired workspace.
- Select File > New > Bareboard Project from the IDE menu bar.
The
New Bareboard Project
wizard launches - the
Create an MCU Bareboard Project
page appears.
- Specify a name for the new project. For example, enter the project name as Project_1.
- Click Next.
The
Devices
page appears.
- Expand the tree control and select the derivative or board you would like to use. For example, select S08 > HCS08G Family > MC9S08GT60.
- Click Next.
The
Connections
page appears.
- Select the appropriate connection(s).
- Click Next.
The
Languages
page appears.
- Check the Relocatable Assembly checkbox and make sure that both the C and C++ checkboxes are clear. By default C option is checked.
- Click Next.
The
Rapid Application Development
page appears.
- Select the appropriate rapid application development tool.
- Click Finish.
The wizard creates a project according to your specifications. The newly created project is displayed in the
CodeWarrior Projects
view.
Note: For detailed descriptions of the options available in the New Bareboard Project wizard pages, refer to the Microcontrollers V10.x Targeting Manual.
Select the project in the
CodeWarrior Projects
view. From the IDE menu bar, select
Project > Build Project
to build the project. The
Console
view displays the statements that direct the build tools to compile and link the project. The Binaries link appears, and so does the
FLASH folder (Additional Project Information).
Note: You can configure the IDE to build the project automatically. To configure the IDE to build the project automatically, check the Build automatically checkbox in the Window > Preferences > General > Workspace page.