Project Compatibility Messages, Options for Adding Sensors, and More

When working in the Intel® System Studio, you can determine how to handle adding or removing sensors from a project, when to display compatibility messages, and more. See the appropriate link below for steps:

Determining how to add and remove sensors for a project

By default, when you add or remove a sensor from a project, the Intel System Studio checks to see if certain options need to be added or removed. For example, if you add a sensor to a C/C++ project, the Intel System Studio checks to see if the main project file already includes the header for the sensor. If not, the Intel System Studio displays a confirmation message asking if you would like to add the header.

You can disable these messages and determine how the Intel System Studio handles adding or removing sensors. For example, you can have the Intel System Studio automatically add the appropriate header whenever you add a new sensor to a project.

  1. Choose Window > Preferences.
  2. From the left, select IoT Development. Click the Sensor Support tab.
  3. Under C/C++ Sensor Support:

    1. You can determine whether to add the sensor's header to the main project file when you add a new sensor to an IoT project. Under Adding header(s) after selecting a sensor, do one of the following:
      • To have the user choose how to handle the sensor header, select Always ask before adding header(s).
      • To add the sensor's header to the main project file, select Always add header(s).
      • To add the sensor without adding the header, select Never add header(s).
    2. You can determine whether to remove the sensor's header from the main project file each time you add a new sensor to an IoT project. Under Removing header(s) after deselecting a sensor, do one of the following:
      • To have the user choose how to handle the sensor header, select Always ask before removing header(s).
      • To remove the sensor's header from the main project file, select Always remove header(s).
      • To remove the sensor without removing the header, select Never remove header(s).
  4. To return to the default settings and have the Intel System Studio display a prompt each time you add or remove a sensor, click Restore Defaults.
  5. Click OK to apply your changes.

Determining whether to check for project compatibility before running a project

You can determine whether the Intel System Studio checks that your project is compatible with your target board before trying to run the project. If you are running on remote targets with a custom OS image or with an OS other than Ubuntu* 16.04 or Ubuntu 18.04, consider turning this setting off.

  1. Choose Window > Preferences.
  2. From the left, select Intel® System Studio > IoT Development. Click the Targets tab.
  3. Under Project compatibility check, select one of the following:
    • To prevent the project from running if it is incompatible with your board, select Never run with an unsupported target but will prompt if the target cannot be identified. If the Intel System Studio cannot identify your target board when you try to run the project, a message about the issue is displayed.
    • To prompt the user to decide whether to run the project despite any compatibility issues, select Always ask to run the project.
    • To run the project on the target regardless of compatibility issues, select Always run the project.
  4. Under OS compatibility check, select one of the following:
    • To check if that OS of the target matches that of your project container, select Check if OS version of the target is supported.
    • To proceed without checking, select Don't check if OS version of the target is supported.
For more complete information about compiler optimizations, see our Optimization Notice.