Using Kinetis Target

To create a new Microcontrollers project using the Kinetis target:

  1. Select File > New > Project.

    The New Project dialog box appears.

  2. Select Bareboard Project and click Next.

    The Create an MCU Bareboard Project page appears.

  3. Enter the name of your project in the Project Name text box, for example, TraceProject, and specify the location of the project if you do not want to use the default location.
    Note: You can also open the Create an MCU Bareboard Project page directly by selecting File > New > Bareboard Project.
  4. Click Next.

    The Devices page appears.

  5. Select the target device or board for your project from the Kinetis family. For example, select Kinetis K Series > K4x Family > K40D (100 MHz) Family > MK40DN512Z.
    Figure 1. Devices Page
    Devices Page
  6. Click Next.

    The Connections page appears.

  7. Select the available connection.
    Note: The Profiling supports all the connections except the simulator.
  8. Click Next.

    The Language and Build Tools Options page appears. By default, GCC ARM Build Tools is selected; you can select Freescale tools by selecting the Freescale option.

  9. Do not change the default settings and click Next.

    The Rapid Application Development page appears.

  10. Click Finish.

    The project TraceProject is created and appears in the CodeWarrior Projects view.

    Figure 2. CodeWarrior Projects View - Kinetis Project
    CodeWarrior Projects View - Kinetis Project
  11. Select the project in the CodeWarrior Projects view.
  12. Select Project > Build Project to build your project.

This creates a new Microcontrollers project for the Kinetis target.

Note: For details on creating a new MCU bareboard project, refer CodeWarrior Development Studio for Microcontrollers V10.x Targeting Manual located at <CWInstallDir>\CW MCU v10.x\MCU\Help\PDF, where <CWInstallDir> is the location where the CodeWarrior software is installed.