P6 modus.mk defined environment variable

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

cross mob
Dave_Long
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

Hi:

     There is a error "The SDK must be defined via the CYSDK environment variable. Stop. modus.mk" happened when I bulid the code example project on  modustolboxV2.2.How should I do to remove the error?

LODA_2997366_0-1615374686994.png

 

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

Hi @Dave_Long

Can you please let me know if you downloaded the ModusToolbox projects from this link? - https://www.cypress.com/documentation/code-examples/ce216795-psoc-6-mcu-dual-core-basics 

If that is the case, these projects are for ModusToolbox 1.0 as shown and are unfortunately not supported in ModusToolbox 2.x. 

Rakshith_0-1615377138813.png

You can click on the New Application option in Quick Panel as highlighted in the snapshot below to import a code example for your target device in ModusToolbox 2.x. 

Rakshith_1-1615377482771.png

You can also refer to this training session for an Introduction to ModusToolbox 2.x - https://community.cypress.com/t5/ModusToolbox-Blog/Session-1-Introduction-to-ModusToolbox-2-x/ba-p/2...

This GitHub page provides information about all the Code Examples for ModusToolbox 2.x - https://github.com/cypresssemiconductorco/Code-Examples-for-ModusToolbox-Software  and you can visit this link for all ModusToolbox 2.x Dual CPU examples.

Hope this helps.

Thanks and Regards,
Rakshith M B

View solution in original post

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

Hi @Dave_Long

Can you please let me know if you downloaded the ModusToolbox projects from this link? - https://www.cypress.com/documentation/code-examples/ce216795-psoc-6-mcu-dual-core-basics 

If that is the case, these projects are for ModusToolbox 1.0 as shown and are unfortunately not supported in ModusToolbox 2.x. 

Rakshith_0-1615377138813.png

You can click on the New Application option in Quick Panel as highlighted in the snapshot below to import a code example for your target device in ModusToolbox 2.x. 

Rakshith_1-1615377482771.png

You can also refer to this training session for an Introduction to ModusToolbox 2.x - https://community.cypress.com/t5/ModusToolbox-Blog/Session-1-Introduction-to-ModusToolbox-2-x/ba-p/2...

This GitHub page provides information about all the Code Examples for ModusToolbox 2.x - https://github.com/cypresssemiconductorco/Code-Examples-for-ModusToolbox-Software  and you can visit this link for all ModusToolbox 2.x Dual CPU examples.

Hope this helps.

Thanks and Regards,
Rakshith M B
0 Likes