The C/C++ project templates for NXP microcontrollers.

Overview

The KLxx template is currently able to generate projects for the Kinetis KL25 and KL46 microcontroller families.

Functionality is similar across all families, so we’ll describe in details only the KL25 family.

Project creation

To create a new, go to Eclipse menu, File → New (or the button in the upper left corner), and select C Project or C++ Project:

Create a new KL25 C++ project

Select the Target processor and related settings:

Select the target details

Eventually configure the folders where you want the projects to be stored:

Configure the project folders

As for all C/C++ projects configure (usually only accept the suggested) build configurations:

Accept the build configurations

Finally select the toolchain and possibly configure the toolchain path:

Select the toolchain

Click the Finish button and the project is created.

The KL25 project structure is:

Common project structure