Updating and Synchronizing Board Packages

When you develop projects in the Intel® System Studio, there are two sets of target platform packages that you must manage:

  • The packages on your development/host system
  • The packages on your target platform

You can update the packages on your host computer to ensure that you have the latest version of the code and the latest set of sensors supported by your host libraries. You should also synchronize the host and target packages to ensure that they are compatible with each other. This is especially useful if you are working with multiple boards, some of which may have different versions of the MRAA* and UPM* libraries installed. See the appropriate section below:

You can also determine which types of target platform to support in the Intel System Studio. For steps, see Managing installed development platforms.

About the MRAA* and UPM* libraries

The MRAA* I/O library (or libmraa) is a low-level library that offers a translation from the General Purpose Input/Output (GPIO) interfaces to the pins available on your board. MRAA makes it easier for developers and sensor manufacturers to map their sensors and actuators on top of supported hardware and to allow control of low-level communication protocol by high-level languages and constructs.

The UPM* sensor library (or libupm) is a repository of sensor representations, written in C++ and utilizing MRAA. UPM is a high-level repository for sensors that use the MRAA library. Each sensor links to libmraa and is not meant to be interlinked, although some groups of sensors may be. Each sensor contains a header that allows you to interface with it.

Updating the packages on your host system

You can quickly update the packages on your host to the latest version available. Updating these packages also updates the Sensor Support tab, so you always have the latest set of sensors supported by your host libraries. For steps to view the list of supported sensors, see Viewing supported sensors.

  1. Choose Project > Update Packages. Intel System Studio checks to see if your packages are up-to-date. The version of the packages on your host system is listed under Current.
  2. To update the packages to the latest version (listed under Online), click Yes.
  3. Your packages are updated. Click OK.

Determining when to synchronize packages

You can determine when to synchronize packages in the Intel System Studio.

  1. Choose Window > Preferences.
  2. From the left, select IoT Development. Click the Package Management tab.
  3. You can determine whether to check that the packages on the host and target are in sync when you run a project. Under Synchronize Packages, do one of the following:
    • To check the host and target packages, select the Perform synchronization check when launching a project check box.
    • To skip the check, clear the Perform synchronization check when launching a project check box.
  4. Click OK to apply your changes.



See Also

For more complete information about compiler optimizations, see our Optimization Notice.