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

ModusToolbox™ General Forum Discussions

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Dear Sirs and Madams,

 

Please tell us about "make getlibs" and "make eclipse" commands of Modus-shell in the answers to the questions asked in the community below.

 

https://community.infineon.com/t5/PSoC-4/PSoC4S-MAX-LIN-sample-project-in-ModusToolbox-2-4/td-p/3588...

 

Is there any documentation that details these commands?

We don't understand which folder in the sample code to use the "make getlibs" command and which folder to use the "make eclipse" command.

 

Regards,

0 Likes
1 Solution
Qi_Colin
Moderator
Moderator 10 likes received 50 replies posted 10 solutions authored
Moderator

Hi @MaMi_1205306 :

The function of  command "make getlibs" is  cloning the repositories and checking out the identified commit. 

If you want to use Device Configurator GUI, you can call the command "make config" in the terminal windows. More information you can get it from the section 3.8.3 in the ModusToolbox 2.4 User Guide

If you want to run this LIN project on CY8CKIT-041S-MAX instead of CY8CKIT-041-40xx, three steps below as reference.

Step 1: Open Library Manager GUI to change BSP from CY8CKIT-041-40xx to CY8CKIT-041S-MAX.

Untitled.png

Step 2: Run "make getlibs" again in the terminal.

Step 3: Modify makefile: TARGET=CY8CKIT-041S-MAX (change TARGET from CY8CKIT-041-40xx to CY8CKIT-041S-MAX).

Best Regards,

Colin

View solution in original post

6 Replies
Qi_Colin
Moderator
Moderator 10 likes received 50 replies posted 10 solutions authored
Moderator

Hi @MaMi_1205306 :

For the detail command information, you can refer to Section 3.8 in the ModusToolbox 2.4 User Guide.

You can input these commands in the terminal windows of the project you're working on (below is a sample of inputting "make getlibs"  ).

1920_1041_1.5.png

Best Regards,

Colin

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Colin-san,

 

Thank you for your reply.

 

I tried as instructed by you : 

(1) Select project

MaMi_1205306_0-1658211778205.png

(2) Enter "make getlibs" command

MaMi_1205306_2-1658212122672.png

(3) Import complete

MaMi_1205306_3-1658212348401.png

(4) However, the Device Configurator does not appear.

MaMi_1205306_4-1658212461277.png

 

What we would like to do is get this LIN project("mtb-example-psoc4-lin-slave-master") to work properly with Modus Toolbox. And we have to run this LIN project on CY8CKIT-041S-MAX instead of CY8CKIT-041-40xx.

Please tell us the best method.

 

With PSoC Creator, it's easy to import an exported project, but Modus Toolbox doesn't have any reference material. It's very inconvenient.

Therefore, We are asking such a question.

 

Regareds,

0 Likes
Qi_Colin
Moderator
Moderator 10 likes received 50 replies posted 10 solutions authored
Moderator

Hi @MaMi_1205306 :

The function of  command "make getlibs" is  cloning the repositories and checking out the identified commit. 

If you want to use Device Configurator GUI, you can call the command "make config" in the terminal windows. More information you can get it from the section 3.8.3 in the ModusToolbox 2.4 User Guide

If you want to run this LIN project on CY8CKIT-041S-MAX instead of CY8CKIT-041-40xx, three steps below as reference.

Step 1: Open Library Manager GUI to change BSP from CY8CKIT-041-40xx to CY8CKIT-041S-MAX.

Untitled.png

Step 2: Run "make getlibs" again in the terminal.

Step 3: Modify makefile: TARGET=CY8CKIT-041S-MAX (change TARGET from CY8CKIT-041-40xx to CY8CKIT-041S-MAX).

Best Regards,

Colin

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Colin-san,

 

I'm sorry many times.

In the first place, in this LIN project("mtb-example-psoc4-lin-slave-master"), there is no "Library Manager" as well as "Device Configurator" in the "Tools" of Modus Toolbox. There is nothing in "Tools".

We use a terminal and can start the "Device Configurator" with the "make config" command, but is there a command to start the "Library Manager"?

The configuration of files or tools is very complicated in Modus toolbox.

Regard,

0 Likes
Qi_Colin
Moderator
Moderator 10 likes received 50 replies posted 10 solutions authored
Moderator

Hi @MaMi_1205306

You can use command "make modlibs"  to run Library Manager.

It is also listed in the the section 3.8.3 of ModusToolbox 2.4 User Guide

Best Regards,

Colin

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Colin-san,

 

I was able to execute step 1 to step 3.

After that, when build the project, an error occurred.

So, I executed the "make getlibs" and "make eclipse" commands again, and then build the project, and the build was completed normally.

Thank you for your great support!

 

Regards,

0 Likes