Core customizations

The New S32DS Project for <processor> page allows you to customize the project properties so that the project could be built properly for the selected processor and core. You can specify the programming language, the I/O to be used, and the floating point support (hardware or software) to be used by the toolchain.
Note: The availability of properties depends on the selected processor. Some processors may not support certain properties.
Core customization properties of a library project

The following table describes the settings that you can configure on this page.

Table 1. S32DS Library Project wizard: Core customization settings
Option Description
Project Name The name assigned to the project on the General properties wizard page.
Note: This name cannot be edited in-place. Click Back to specify a different name on the General properties page.
Core

The ARM core used in the selected processor.

Note: This check box cannot be cleared. Click Back to select a different processor on the General properties page.

FPU Support

This setting enables GCC to build a project with the floating point support provided either by the processor or by a software library.

The availability of options depends on the core used in the selected processor.

Options :

  • Toolchain Default - generation of floating-point instructions is defined by the FPU support in the selected processor.
  • Software: No FPU ( -mfloat-abi=soft) - causes GCC to generate output containing library calls for floating-point operations.
  • Hardware: -mfloat-abi=hard - allows generation of floating-point instructions and uses FPU-specific calling conventions.
  • Hardware: -mfloat-abi=softfp - allows the generation of code using hardware floating-point instructions, but still uses the soft-float calling conventions.
  • Toolchain Default (hard) - generation of floating-point instructions is defined by the FPU support in the selected processor. If the FPU is enabled in the core, floating-point instructions are generated by the core and the hard-float calling conventions are used.
  • None - forces GCC to skip use of the FPU.
Note: Find more information about ARM options in the GCC toolchain documentation on the web.

Language

This setting sets up the default compiler, linker, and preprocessor options for the toolchain and configures other project files, such as main, for the target language.

Note: The selected programming language defines the toolchain settings for the linker and compiler that will be available in the properties for the created project. Selecting C limits the toolchain options to this specific language. If you select C++, you will be able to configure settings for the C and C++ compiler, linker, and preprocessor. The toolchain settings can be further configured after creating the project. For details, see section "C/C++ Build Tool Settings".

Options:

  • C - sets up your project for the ANSI C-compliant startup code and initializes global variables.
  • C++ - sets up your project for the ANSI C++ startup code and performs the global class object initialization.
S32 Configuration Tool This option enables creation of an MCU configuration in the project by means of the embedded S32 Configuration Tool.