Create New Project

This section demonstrates creating a new project using the New Bareboard Project wizard.

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

  2. Click OK to accept the default workspace. To use a workspace different from the default, click the Browse button and specify the desired workspace.
  3. Select File > New > Bareboard Project from the IDE menu bar.

    The New Bareboard Project wizard launches - the Create an MCU Bareboard Project page appears.

  4. Specify a name for the new project. For example, enter the project name as Project_1.
  5. Click Next.

    The Devices page appears.

  6. Expand the tree control and select the derivative or board you would like to use. For example, select S08 > HCS08G Family > MC9S08GT60.
  7. Click Next.

    The Connections page appears.

  8. Select the appropriate connection(s).
  9. Click Next.

    The Languages page appears.

  10. Check the Relocatable Assembly checkbox and make sure that both the C and C++ checkboxes are clear. By default C option is checked.
  11. Click Next.

    The Rapid Application Development page appears.

  12. Select the appropriate rapid application development tool.
  13. 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.