Standard S32DS Create Flash Image

The Standard S32DS Create Flash Image page displays the build configuration settings that apply to the Standard S32DS Create Flash Image virtual tool. This tool calls the HEX/BIN converter tool to create a flash image from an application's executable.

This page is only available for application projects. To make this page available, enable the Create flash image option on the Cross Settings page.

Table 1. Application Project Properties: Standard S32DS Create Flash Image
Setting Description
Command The command pattern for the ${COMMAND} variable. This variable is used in the Command line pattern field (below).

Default: ${cross_prefix}${cross_objcopy}${cross_suffix}

The pattern uses the build variables specified on the Cross Settings page.

All options This read-only field shows all flags specified on the General page of the Standard S32DS Create Flash Image tool settings. The HEX/BIN converter tool will be called with these flags.

Default flags: -O srec $(EXECUTABLES)

Command line pattern The command line pattern to run the HEX/BIN converter tool.

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

General

The General page specifies the general properties of the Standard S32DS Create Flash Image virtual tool. This tool calls the HEX/BIN converter tool to generate an image file in the selected binary format from the produced binary ELF artifact.

Table 2. Application Project Properties: Standard S32DS Create Flash Image > General
Setting Description
Output file format (-O) The binary format of the flash image. Options: Intel HEX, Motorola S-record, Motorola S-record (symbols), RAW binary.

The generated image file is added to the Debug folder of the project. The file name matches the project name, the file extension depends on the selected format and can be .hex (Intel HEX), .srec (Motorola S-record), .symbolsrec or .bin.

Default: Motorola S-record.

Section: -j .text This option configures the HEX/BIN converter tool to include only the TEXT section of the ELF file into the flash image. Other file sections will not be included unless specified explicitly in the Other sections (-j) list.
Section: -j .data This option configures the HEX/BIN converter tool to include only the DATA section of the ELF file into the flash image. Other file sections will not be included unless specified explicitly in the Other sections (-j) list.
Other sections (-j) Specify other sections of the ELF file to be included in the flash image file.
Note: To add both the TEXT section and the DATA section to the image, select any of the respective options above and add the other file section here.
Other flags Additional flags supported by the HEX/BIN converter tool and not otherwise available on this page. Consult the GCC documentation at gcc.gnu.org.

To specify additional flags, use the following pattern:

--set-section-flags sectionpattern=flags

Example: --set-section-flags .text=alloc