1936 views|2 replies

71

Posts

0

Resources
The OP
 

RISC-V MCU Development (Part 9): Project Template Management [Copy link]

Compared with platforms and solutions, projects are actually the smallest unit for developers to manage code and operate configurations. In the previous introduction, we introduced the process of creating MRS projects, as well as the actual functions of compiling, burning, and debugging. Naturally, there will be several questions: how are these projects built into MRS ? How can we save existing projects as our own templates for other users to use? In this article, we will introduce them one by one.

[Save the project as a template] After writing a project, select the project in the Project Explorer window, right-click the project and click "Save As Project Template" in the pop-up menu. Or click "Save As Project Template" in the main menu "Project".

[Browse and edit template properties] The pop-up window will display the information of the current project. If the project source is created by the MRS template, the basic information such as manufacturer, series, description, etc. will be recorded by default. Users can browse and modify this information. Then click Browse... to select the export location of the template package. After the configuration is correct, the OK button of the form will be enabled. Click OK to generate the template package at the specified location. The exported template package is fixed in the project name + zip format.

[Import Template Package] This step will parse the template package and add it to the template collection under the MRS installation path according to the obtained structure. Click "Template Management " in the main menu " Project " , and then a window will appear, in which the built-in template collection is graphically displayed. Click "Import " , select the template package in the system browser, and click OK to confirm. The compressed package can also be transferred and copied to other users. In later MRS versions, template packages that meet the conditions can be uploaded to the MRS publishing platform as component SDKs for other engineers to download and use.

[Template Management Page] It displays the built-in template collection in a tree structure. By dragging the vertical scroll bar, users can browse the models of all series under all manufacturers. Click

to expand and collapse the tree branches with one click. After importing or copying, the generated template node will be automatically focused, and the template information in the control box on the right will be refreshed. Users can also click on the template node at will to refresh the corresponding template information. In addition, in addition to supporting import, template management also supports exporting, copying and deleting existing templates.

[Template Export] Copy the compressed package to the specified path.

[Template Copy] Copy the existing template in the tree and redefine the manufacturer series to generate new nodes.

[Template Delete] Delete the existing template and delete the node in the template management tree. If all models under a certain manufacturer / series are deleted, the node will also be removed.

This post is from MCU

Latest reply

Thanks for sharing. It is a popular science introduction of eclipse for those who are used to using single-chip microcomputers.   Details Published on 2021-10-13 17:16
 

1366

Posts

6

Resources
2
 

Are you an official staff member of Qinheng?

This post is from MCU
 
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 

7422

Posts

2

Resources
3
 

Thanks for sharing. It is a popular science introduction of eclipse for those who are used to using single-chip microcomputers.

This post is from MCU
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list