Exporting PE component settings

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Exporting PE component settings

跳至解决方案
760 次查看
paulderocco
Contributor III

Is there any way to export the settings for a PE component to a file, and then import it into a different project? I see a way to create a template from a component, but that looks like it adds the template to the local set of templates, which isn't what I want. I'm writing a library for reuse by others, and I'd like to include a file that they can use to pre-configure a component that goes with a particular library module. And also put that file under version control. It would be nice if it were in some text form that I could hack, so that I could strip out certain things like the component name and device choice, or other user preferences like baud rates or timer divisors. Seems like an obvious thing to want to do.

Since copy and paste work on components between projects, I tried copying a component and then pasting into a text file, but all I got was a description. A nicely formatted chunk of XML in the clipboard would have been the ideal solution.

0 项奖励
回复
1 解答
629 次查看
BlackNight
NXP Employee
NXP Employee

The content of the clipboard is in a special format. I use the File > Export and File > Import functionality, see http://mcuoneclipse.com/2014/10/26/export-and-import-processor-expert-component-settings/

Erich

在原帖中查看解决方案

0 项奖励
回复
2 回复数
630 次查看
BlackNight
NXP Employee
NXP Employee

The content of the clipboard is in a special format. I use the File > Export and File > Import functionality, see http://mcuoneclipse.com/2014/10/26/export-and-import-processor-expert-component-settings/

Erich

0 项奖励
回复
629 次查看
paulderocco
Contributor III

I finally got a chance to try that, and it worked well. Thanks for the tip.

0 项奖励
回复