Exporting PE component settings

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Exporting PE component settings

ソリューションへジャンプ
762件の閲覧回数
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 解決策
631件の閲覧回数
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 返答(返信)
632件の閲覧回数
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 件の賞賛
返信
631件の閲覧回数
paulderocco
Contributor III

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

0 件の賞賛
返信