Adding an APEX2/ISP project to User Examples

The Vision Extension Package for S32V2xx 1.0.0 comes with a collection of sample projects that demonstrate programming concepts and use of SDKs.

Sample projects added by users are available under User Examples in the S32DS Project from Example wizard:

S32DS Project from Example

An example can include one or several projects. For instance, when you design an application with APEX2 and/or ISP visual modeling support, you have separate projects for the source code and model. Create a single example for these projects. When someone decides to use your example, they install all included projects to their workspace.

To add a single project to User Examples, copy the project folder from your workspace to the {Vision Extension Package installation path}/S32DS/examples folder.

To add a multi-project example to User Examples:

  1. In the Project Explorer, click the host project that you want to add to user examples. Click Project > Properties on the main menu.
  2. In the Properties dialog box, click Project References in the left pane. Make sure that all other projects that you want to include in your example are referenced.

    Referenced projects

    Note: The project is supposed to reference ISP Dataflow projects, APEX2 Graph projects, and APEX2 Program projects included in the example.
  3. In the Properties dialog box, click Resource in the left pane. In the right pane, click the Show in System Explorer button to open the project folder.

    Open the project folder in the workspace

  4. In the workspace, all referenced projects are located in the upper-level folder named similarly. This folder is added by the project creation wizard. Copy and paste this folder to the following location: {Vision Extension Package installation folder}/S32DS/examples/.
    Note: If the common folder for your projects is missing in the workspace, create a folder with a proper name in /S32DS/examples/ and copy all projects of your example to this folder.

Now the S32DS Project from Example wizard displays your example under User Examples.

The example is located in the upper-level folder that you copied or created in the /S32DS/examples folder.