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

Use Offline Content in Eclipse IDE for ModusToolbox

Use Offline Content in Eclipse IDE for ModusToolbox

Charles_Lai
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 100 replies posted

Use Offline Content in Eclipse IDE for ModusToolbox

If online resources are not handily accessible to you, ModusToolbox offers an option to let you use offline content with it. Refer to this link for the original introduction and official offline content.

This guide shows you how to use offline content in Eclipse IDE for ModusToolbox, typically on Windows, as a supplement to the above link. 

Steps:

  1. Download an official/unofficial offline content package. You might refer to Reference #2 for the unofficial offline content package.
  2. Unzip the package to the default path, i.e., %USERPROFILE%\.modustoolbox\. You'll find a folder offline is created under that path after the extraction. Now %USERPROFILE%\.modustoolbox\offline is your offline content location, e.g., C:\Users\xxx\.modustoolbox\offline.
  3. Add the variable CY_GETLIBS_OFFLINE to the environment variables and set the value to true, as below, which enables ModusToolbox to use the offline content prior to the online content:
    Charles_Lai_0-1639741749244.png
  4. (OPTIONAL) Delete the variable CyRemoteManifestOverride or CY_GETLIBS_CACHE_PATH if you find it in the environment variables, to avoid incoherence.
  5. (OPTIONAL) If you unzip the offline content package to somewhere else than the default path in step #2, then you need to add the variable CY_GETLIBS_OFFLINE_PATH to the environment variables and set the value to your offline content location. Use slashes to replace all the backslashes in the string, e.g., C:/Users/xxx/.modustoolbox/offline.
  6. Now open Eclipse IDE for ModusToolbox. You can use it as before, and find the offline content is enabled by default. See below:
    Charles_Lai_1-1639743864764.png

Reference:

  1. ModusToolbox User Guide
  2. Self-released ModusToolbox Offline Content Package
  3. ModusToolbox Offline Content Generator
0 Likes
746 Views