Copy my Component Settings: Processor Expert Templates

Once I have a carefully configured Processor Expert component, I can use the approach described in Drag&Drop in Processor Expert to copy that component to a different project. However, this requires that the destination project is present in the same workspace. So how can I transfer a component with its settings from one workspace to another? Or from one machine to another?

Templates in Processor Expert

Processor Expert is using the concept of Templates. Templates are used as default settings when a component is added and created in a project. As a developer of a component I can specify these template settings, e.g. that that component shall use a given baud rate or a given timer frequency. For example my FreeRTOS component adds a tick counter with a 10 ms period. That period is defined by the template for it.

Creating a User Template

But templates cannot be only used for component developers, they can be created as well from the actual component settings. For this there is a context menu on the component to Save Component Settings As Template:

Save Component Settings as Template

Save Component Settings as Template

If I select that menu, a dialog pops up where I can specify the naming and description of the new template:

Component Template Naming

Component Template Naming

Pressing OK, and the template gets created.

Using a Template

But where is it now? It has been added to the list of the components, so I can see it in the Components Library view:

Template in Components Library

Templates are marked in blue color so I can see what is full component or what is only a template. And I can add that Template like any other component to my project:

Synchromaster Template in Project

SynchroMaster Template in Project

To show that this component has a template applied, the template name is added inside […] to the component name.

Transferring a Template

To transfer or copy a template from one machine to another, I need to know where the templates are stored. Processor Expert uses a ‘User working directory’ to story any user components and as well the templates created by the user. That directory name is shown in the Console View for Processor Expert:

Console View with User Working Directory

Console View with User Working Directory

Another place where that folder name is shown is in Window > Preferences:

Processor Expert Preferences

Processor Expert Preferences

Browsing now to that folder, I can see that there is a Templts folder with my created template in it:

Templts Folder

Templts Folder

Template files are XML files and have a .dev extension. In order to transfer the template to another machine, I simply can copy that folder/file(s) to the destination machine.


I use Processor Expert templates to save component settings. Templates can be used like normal components. And with knowing where the templates are stored, I can easily transfer them between machines.

Happy Templating 🙂

2 thoughts on “Copy my Component Settings: Processor Expert Templates

  1. Pingback: CDE Hacking: Where is my stuff? A dissection… | MCU on Eclipse

  2. Pingback: Copy of Processor Expert Components | MCU on Eclipse

What do you think?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.