Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

How to import projects downloaded from GitHub into ModusToolbox™ 3.0 - KBA236823

How to import projects downloaded from GitHub into ModusToolbox™ 3.0 - KBA236823

Infineon_Team
Moderator
Moderator
Moderator
5 replies posted First solution authored First comment on KBA

How to import projects downloaded from GitHub into ModusToolbox™ 3.0 - KBA236823

Community Translation: GitHubからダウンロードしたプロジェクトをModusToolbox™ 3.0にインポートする方法 - KBA236823

Version: **

You may encounter an issue when you use the Import Existing Application In-Place function to import a project downloaded from the GitHub repo into ModusToolbox™ 3.0:

Infineon_Team_4-1671789555442.png

This issue typically occurs when the projects being imported are in the workspace root directory. This will be fixed in the next release of ModusToolbox™.

Note:   See the release notes of ModusToolbox™ to ensure that your product (examples: Type-C/PMG1) are supported in the new release of ModusToolbox™. The next release of ModusToolbox™ 3.0 may be the only development platform for some products.

Do the following to import the projects in ModusToolbox™ 3.0. The mtb-example-pmg1-usbpd-drp-epr project is used as an example.

  1. Create a workspace folder for PMG1 ModusToolbox™ 3.0 projects. For example, C:\Users\xxx\mtw30\PMG1.
  2. Download the project from GitHub: https://github.com/Infineon/mtb-example-pmg1-usbpd-drp-epr.
  3. Unzip the project package and move it to the workspace folder created in Step 1.
  4. Open ModusToolbox™ 3.0, and select File > New > ModusToolbox™ Application. Available BSPs are displayed in the Project Creator 2.0 window.
Infineon_Team_3-1671789474804.png
  1. Select the BSP as “PMG1S3DUAL” and click Next.
  2. Click Browse and navigate to the target project folder created in Step 3, and then click Create.
Infineon_Team_2-1671789420111.png

The importing process may take a few minutes. The target project appears under the Project Explorer column.

Infineon_Team_1-1671789359187.png


7. Click Build Application.

Infineon_Team_0-1671789312108.png

 

 You can use this approach while importing other product lines as well. Ensure that the target BSP is available to be selected in ModusToolbox™ 3.0.

106 Views