Creating a project

To create an application project or a library project for S32S2xxTV:

  1. Run S32 Design Studio 3.1.
  2. On the File menu, click New, then click S32DS Application Project or S32DS Library Project to launch the respective project creation wizard.
  3. Select the required target in the Processors pane:


    Creating a project for S32S2xxTV

  4. Specify the general project settings:
    Table 1. General project settings
    Setting Description
    Project name The project name. A valid project name is unique in the current workspace, uses ASCII characters in the range of ‘A-z’, digits, and underscores, and starts with a letter.
    Use default location If this option is enabled, the project files are stored in the default folder specified in the Location field. Disable this option to specify a different path in the Location field.
    Location The full path of the project’s root folder.

  5. Click Next.
  6. On the next wizard page, select the cores. A dedicated project will be created for each selected core.


    Defining settings of a project for S32S2xxTV

    Note: The boot core is always selected and cannot be skipped.
  7. Under each selected core specify the settings that apply to your project. Most of these settings are available for application projects only.
    Table 2. Special project settings
    Setting Description
    Library The ANSI C/C++ library (GCC compiler) to be linked to the project. Options:
    • NewLib: An open-source C/C++ library.
    • NewLib Nano: A Newlib version that is targeting memory constrained devices.

      The toolchain settings specifies the NewLib location using the environment variable: ${S32DS_S2_ARM32_TOOLCHAIN_DIR}/arm-none-eabi/newlib.

    I/O Support Support for input/output during debugging. Options: No I/O, Debugger Console.
    FPU Support The ABI for the floating-point operations. Options:
    • Toolchain Default: Generation of floating-point instructions is defined by the FPU support in the selected processor.
    • Software: No FPU ( -mfloat-abi=soft): The generated output contains library calls for floating-point operations.
    • Hardware: SP FPU (-mfloat-abi=hard): The code uses hardware floating-point instructions and FPU specific calling conventions.
    • Hardware: DP FPU + NEON (-mfloat-abi=hard): The code uses double-precision hardware floating-point instructions, the Arm Neon architecture extension and the FPU specific calling conventions (Library projects only).
    • Hardware: SP FPU (-mfloat-abi=softfp): The code uses hardware floating-point instructions, but still uses the soft-float calling conventions.
    • Hardware: DP FPU + NEON (-mfloat-abi=softfp): The code uses double-precision hardware floating-point instructions, the Arm Neon architecture extension and the soft-float calling conventions (Library projects only).
    Language The programming language. Options: C, C++.
    Instruction Set The processor instruction set. Options:
    • Thumb: a 16-bit subset of the ARM instruction set functionality
    • ARM: a 32-bit instruction set
    SDKs The SDKs to be included in the project. Default: no SDK.
    Debugger The software debugger. Options: S32 Debugger, VDK Simulator.
    S32 Configuration Tool Support for S32 Configuration Tool. If this option is enabled, the project will include the device configuration files.

    This option requires the C language and the S32S247TV SDK to be selected.

  8. Click Finish.

The wizard creates the new project according to the specified details. The new project is displayed in the Project Explorer view. If you have selected multiple cores, the wizard creates a separate project for each selected core.