Standard S32DS Assembler

The Standard S32DS Assembler page allows you to configure assembler options for your project.

The following table describes the options available on the Standard S32DS Assembler page.

Table 1. Tool Settings - Standard S32DS Assembler
Option Description
Command

Command that will be used to run the assembler.

Default: ${cross_prefix}${cross_c}${cross_suffix}

All options

Expanded command line options the assembler will be called with.

Shows actual values of variables and options according to Command line pattern.

Default: -c -x assembler-with-cpp -g3 -mcpu=cortex-a53

Command line pattern

Command line to call the assembler.

Default: ${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}

General

The General page allows you to configure general settings of the assembler.

The following table describes the options available on the General page.
Table 2. Tool Settings - Standard S32DS Assembler - General
Option Description
Assembler flags

Specify additional command line options.

Default: -c (compile only, do not link)

Include paths (-I)

Specify paths to locations where the assembler should search for include files specified in the .include directive. The compiler can search #include files in several different ways. You can also set the search order as follows:

  • for include statements of the form #include"xyz", the compiler first searches user paths, then the system paths
  • for include statements of the form #include<xyz>, the compiler searches only system paths. This option is global.
Note: The assembler processes added libraries in the top-down order, as specified in this list.

By default, this list is empty.

Suppress warnings (-W)

Select if you do not want to see assembler warning messages in the console.

By default, this check box is not selected.

Announce version (-v)

Output auxiliary information about version of the toolchain and used variables.

Select this check box to enable assembler tool to show extended information about the progress including version, variables being used, and informational messages returned while assembling your code.

By default, this check box is not selected.

Preprocessor

The Preprocessor page allows you to configure the assembly preprocessor.

The following table describes the options available on the Preprocessor page.

Table 3. Tool Settings - Standard S32DS Assembler - Preprocessor
Option Description
Use preprocessor

Select this check box to preprocess files before assembling them.

By default, this check box is selected.

Do not search system directories

(-nostdinc)

Select the check box if you do not want the preprocessor to search the system locations for header files. Only the locations specified on the General page will be used to search for the header files.

By default, this check box is not selected.

Preprocess only

(-E)

Select the check box if you only want to preprocess source files without running the compiler. Nothing is done except preprocessing.
Attention: Selecting this will cause a linker error when you build the project. This is because linker expects an object file to be available. However, because no compilation is done when this option is enabled, compiler does not create an object file.

By default, this check box is not selected.

Symbols

The Symbols page allows you to define assembly symbols.

The following table describes the options available on the Symbols page.
Table 4. Tool Settings - Standard S32DS Assembler - Symbols
Option Description
Defined symbols (-D) Specify the substitution strings that the assembler applies to all the assembly-language modules in the build target. Enter just the string portion of a substitution string. The Vision Extension Package prepends the -D token to each string that you enter.
Note: This option is similar to the DEFINE directive, but applied to all assembly-language modules in a build target.

By default, this list is empty.

Undefined symbols (-U)

Remove definition for a previously defined name.

Use to cancel any previous definition of name, either built-in or provided with a -D option.

By default, this list is empty.

Debugging

The Debugging page allows you to configure debugging parameters used by the assembler during the assembly of your project.

The following table describes the options available on the Debugging page.

Table 5. Tool Settings - Standard S32DS Assembler - Debugging
Option Description
Debug Level

Specify the debug levels:

  • None - Level 0 produces no debug information at all,
  • Minimal ( -g1) - Level 1 produces minimal information, enough for making backtraces in parts of the program that you don't plan to debug. This includes descriptions of functions and external variables, and line number tables, but no information about local variables,
  • Default ( -g) - This level produces debugging information in the operating system’s native format,
  • Maximum ( -g3) - Level 3 includes extra information, such as all the macro definitions present in the program. So the compiler provides maximum debugging support.

Default: Maximum ( -g3)

Other debugging flags

Specify additional command line options.

By default, this field is empty.