Saving a project to User Examples

S32 Design Studio is installed with a collection of project examples that demonstrate programming concepts and use of SDKs. A project example can be copied to the workspace and reused as described in topic Creating a project from an example.

All project examples are available for use in the S32DS Project from Example wizard. To open the wizard, click File > New > S32DS Project from Example.

The User Examples section of the S32DS Project from Example wizard is reserved for project examples added by the user. To add a project to User Examples, copy the project folder from your workspace to the {S32 Design Studio for S32 Platform 3.5 Update 13 RTM installation path}/S32DS/examples folder.

An example can include several projects. For instance, when you design an application for a multi-core processor, you use a separate application project for each core. You can pack all these projects into one example. When someone decides to use your example, they install all included projects to the workspace.

To add a multi-project example to User Examples:

  1. In the Project Explorer, click an application or library 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.
  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.
  4. In the workspace, all projects of a multi-core solution are located in the upper-level folder named similarly. The folder was added by the project creation wizard. Copy and paste this folder to the following location: {S32DS Design Studio for S32 Platform 3.5 Update 13 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.


Projects added to User Examples

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