Adding PEx to KDS bareboard project (without SDK)

Showing results for 
Search instead for 
Did you mean: 

Adding PEx to KDS bareboard project (without SDK)

Adding PEx to KDS bareboard project (without SDK)

The C project that doesn't use Processor Expert can be converted to Processor Expert. This is useful when the user finds out that he/she would like to use additional features of Processor Expert.

WARNING! Note that in most cases this conversion involves necessary manual changes in the application code, because for example the register interrupt vectors table definitions created by the user often conflicts with Processor Expert definitions. Don't forget to backup the whole project before the conversion. Some files will have to be removed from the project. The conversion to Processor Expert is recommended to experienced users only.


  • Select the command in the main menu File > New > Other and in the New Project Wizard select Processor Expert / Enable Processor Expert for Existing C Project


  • Select the project you want to update.
  • Select the derivative that will be included in PEx project (you should use the same derivative that has been selected when the project was created without PEx).
  • Select the target compiler (select the GNU C Compiler by default if you have not installed any other compiler in the Kinetis Design Studio)
  • Confirm changes (renaming of main.c module and any other changes you want to apply) and click on the Finish button.
  • The project with PEx is created but there need to be done following changes:
    • Remove the duplicate main.c module – the main_backup.c file (copy content of the old main.c module into the new one created by PEx) and delete the old version of the file (main_backup.c)
    • Remove all IO maps files from the original project. The KDS bareboard project have all these files included in the Includes folder by default (core_......h files and IO map files).
    • Remove all startup files from the original project. The KDS bareboard project have all these files (startup_xxxxxx.S and system_xxxxxx.c files) included in the Project_Settings/Startup_Code folder.
    • Remove linker file xxxxxxxxxxxx_flash.ld from the original project. Use the Processor Expert.ld linker file that is generated by Processor Expert. In the context menu of the project select Properties and in the Properties window go the C/C++ Build > Settings > Tool Settings, select the Cross ARM C++ Linker / General and select the ProcessorExpert.ld file instead of MK......_flash.ld (see the following screenshot).



KL27 is not suported to do that.

It's pathetic that KDS is worse and more complicated than CodeWarrior. Not being able to create a project with a processor expert without an SDK is a backward step. That processor expert does not know how to create a simple USB communication program is embarrassing. That most of the MCUxpresso information is for IAR or KEIL and not for KDS or CW is a shame.

And so on.

Thanks to people like Marek silly people like me can go on.


neither KDS nor Processor Expert are tools recommended for new designs. The company decided to phase out those tools. We are sorry for your bad experience with the tools.

I would suggest you to try MCUXpresso IDE. You'll find example projects with the USB stack for KL27 in the KL27 SDK. This is the direct download link for this SDK: 

The MCUXpresso IDE can be downloaded from here: 

It is not a Processor Expert. However, we are still improving the New Project Wizard in the MCUXpresso IDE and also other MCUXpresso Config Tools.



Version history
Revision #:
1 of 1
Last update:
‎09-18-2014 04:31 AM
Updated by: