Microchip
直播中

叶亮

7年用户 225经验值
私信 关注
[问答]

如何克隆Harmony项目并将其升级到最新的Harmony版本

在前一篇文章中,我被指派到其他职位,让我知道如何克隆以前的项目,并将其升级到最新版本的Hyg和MHC。这对我特别有用,因为我现在已经在V1Y06、V1Y07和现在V1Y08Y01上展开了项目。下面是复制和谐项目并将其更新到最新版本的Hyg和MHC的步骤。假设您的项目名为“OLDNED”,您要复制它,将其重命名为“NeNeNeX”,并将NeNeNedate更新为和声和MHC。1的最新版本。将名为“oldname”的文件夹从Micro./V1_xx/apps(以前的和谐版本目录)复制到Micro./V1_08_01/apps目录(最新的和谐版本)。将“OrdNeX”目录重命名为“NeNeNeX”。2。启动MPLAB IDE并选择打开项目。…转到Microchip /V1Y08Y01/App/NeNeX/固件/OLDNAM. X. Click在“打开项目”上。3。右键单击项目窗口中的“OLDNED”项目并选择“RealMe..”。检查“重命名项目文件夹”,输入新名称(即“NeNeNeX”)。单击重命名。右键单击NeNeNess项目,点击“设置为主项目”。4。在另一个窗口中,转到Microchip /V1Y08Y01/Apps/NeNeX/固件/删除“OLDNEX”.HCONFIG文件。5。点击工具& gt;嵌入式& gt;MPLAB和谐配置器。验证打开配置窗口中的路径名是否显示正确的和声版本,单击“确定”。[如果不是,选择MHC配置器工具栏中最左边的图标来浏览到正确的配置文件。] 6。点击MHC和谐配置工具工具栏上的“代码”图标来重新创建库。应该没有错误(假设旧名称项目没有错误)。7单击Debug Main Project重新编译并重新加载“新”项目。应该没有错误。您现在已经克隆了旧项目,并用最新版本的和声升级了它。这当然比每次想“叉”一个项目从头开始创建一个新项目要容易。

以上来自于百度翻译


      以下为原文

    In a previous post I was directed to other posts that allowed me to figure out how to clone a previous project and upgrade it to the latest versions of HARMony and MHC.  This is especially useful to me as I now have projects spread out over V1_06, V1_07 and now V1_08_01.  

Here are the steps that will copy a Harmony project and update it to the latest versions of Harmony and MHC.

Assume your project is named “oldname” and you want to copy it, rename it to “newname”  and update newname to the latest version of Harmony and MHC.

1.  Copy the folder named “oldname” from Microchip/V1_xx/apps (a previous Harmony version directory) to Microchip/V1_08_01/apps directory (the latest Harmony version).  Rename the “oldname” directory to “newname”.

2.  Start MPLAB IDE and select the Open Project. . .  Go to Microchip/V1_08_01/apps/newname/firmware/oldname.X.  Click on “Open Project”.

3.  Right click on the “oldname” project in the Projects window and select “Rename..”.  Check the “Also rename Project folder”, enter the new name (i.e. “newname”). Click Rename.  Right click on the newname project and click on “Set as Main Project”.

4.  In another window, go to Microchip/V1_08_01/apps/newname/firmware/  and delete the “oldname”.hconfig file.

5.  Click on tools>embedded>MPLAB Harmony Configurator.  Verify the pathname in the Open Configuration window shows the correct Harmony version, click OK.  [If not, select the left-most icon in the MHC Configurator toolbar to browse to the correct configuration file.]

6.  Click on the “code” icon on the MHC Harmony Configurator toolbar to remake the library.  There should be no errors (assuming the oldname project had no errors).

7  Click on Debug Main Project to recompile and reload the “new” project.  There should be no errors.  

You have now cloned the old project AND upgraded it with the latest version of Harmony.  This is certainly easier than creating a new project from scratch every time you want to “fork” a project.



回帖(11)

杨叶

2019-7-23 10:01:08
嗨,Microchip开发者帮助网站致力于在线支持。有教程和一步一步解释如何做你正在寻找的。从这里开始:http://Microchip。Wikoto.com/On和声:星际争霸

以上来自于百度翻译


      以下为原文

    Hi,
Microchip developer help website is dedicated to online support. There are tutorials and step by step which explain how to do just what you are looking for. Start here : http://microchip.wikidot.com/harmony:start
Regards
举报

张玉

2019-7-23 10:48:30
还有,Microchip的人们没有假设我们理解他们写的东西,而很多东西都被遗漏了。

以上来自于百度翻译


      以下为原文

    and also missing that the folks at Microchip are making the assumption that we understand the stuff they are writing when lots of its left out.
 
举报

乔丽娜

2019-7-23 11:06:19
源代码是最好的源代码文档。

以上来自于百度翻译


      以下为原文

    The source code is the best documentation of the source code.
举报

庄当甜

2019-7-23 11:19:45
我发现这可能有帮助:http://Microchip…WikiTo.迁移HW平台

以上来自于百度翻译


      以下为原文

    I found this might help:
http://microchip.wikidot....migrating-hw-platforms
举报

更多回帖

发帖
×
20
完善资料,
赚取积分