ModusToolbox on Linux HelloWorld example

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

cross mob
lock attach
Attachments are accessible only for community members.
SaKu_291986
Level 4
Level 4
10 replies posted 10 questions asked 5 solutions authored

My experience installing MTB 2.1 on Linux Mint 18.3 was great. I built Hello_World example. I was expecting the red LED to blink, but it does not. However, I am able to step through main.c using the debug launch.

I have attached the logs of build and program steps for your reference.

Any help is appreciated.

0 Likes
1 Solution

Hello Rakshit,

I am not sure why, but I got the error Line 163 of Makefile *** Unable to find any of the available CY_TOOLS_PATHS --  .  Stop. The linux installer says ModusToolbox has to be installed in <user_home> directory, but I had installed it elsewhere. So I created a soft link.

ln-s /home/myname/ModusToolbox /mount/myname/space/ModusToolbox

Now the examples projects are working fine.

Thanks and best regards,

Sampath

View solution in original post

0 Likes
3 Replies
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi SaKu_291986​,

The build log and the program log seem to be correct. The Hello World example also outputs log to a serial terminal. Can you please let me know if you are able to see the output log?
Also, can you attach the entire project so that we can test it at our end?
Can you try programming other code examples and check if that is working for you?

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

Hello Rakshit,

I am not sure why, but I got the error Line 163 of Makefile *** Unable to find any of the available CY_TOOLS_PATHS --  .  Stop. The linux installer says ModusToolbox has to be installed in <user_home> directory, but I had installed it elsewhere. So I created a soft link.

ln-s /home/myname/ModusToolbox /mount/myname/space/ModusToolbox

Now the examples projects are working fine.

Thanks and best regards,

Sampath

0 Likes
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi SaKu_291986​,

Thank you for providing an update on this thread

Regards,

Rakshith

Thanks and Regards,
Rakshith M B
0 Likes