Overview

In S32 Design Studio , you start a new project for every embedded application or a library you are about to design. A project serves as a container, keeping the source code, configuration files, and resources of your program arranged in folders within your workspace.

Starting a project

There are several ways how you can start a project in S32 Design Studio . To design a project from scratch, use a project creation wizard. The wizard guides you through a series of steps, helping you to name the project, to specify the target hardware and to select the appropriate programming language (C or C++), toolchains, SDKs, and the debugger.

The other ways to start a project are importing an existing project to your workspace and reusing a project example, either installed with S32 Design Studio or created manually.

Project folders and files

Once created or copied to the workspace, a project is stored in the project's root folder named similarly. The project files inside the root folder are arranged in the hierarchy of folders with the predefined names and locations. You can extend your project with custom folders and files added under the root folder whenever necessary. In addition, a project can link files and folders located outside the projects' root folder.

Device configuration

Projects for particular processor families can include device configuration files. To design a device configuration, you create a project with enabled support for the S32 Configuration tools. The default device configuration is generated within the project and can be edited in special perspectives, including in the graphics mode. All updates are transformed to the XML format and code and saved to the configuration files.

Project properties

Every project includes a collection of properties that configure the build process. You can open and edit the project properties in a dialog box. This dialog is the place where you specify the project variables, choose optional builders, update the build configuration settings and do adjustments in the selected toolchain, reference other projects and SDKs, and create and edit launch configurations.

Visibility and operations

At design time, all operations with projects are performed in the Project Explorer view. The Project Explorer shows the file and folder structure of all opened projects available in the workspace. The context menu called on the project's root folder or on its nested folder enables you to perform the following actions:

The topics included in this chapter provide more information on how to manage projects in S32 Design Studio .