# Patch is Generated with GenFOTO tool from 2 images
# Images are generated from binary files with GenDevImg tool
#
# -- Properties file definition assumed by GenDevImg utilities --
#

# MANDATORY image-type: binary | s-record | elf
# Format of the Image.
# Caution, if binary format is used, the engine won't be able to proceed any check on the input file format.
image-type: binary

# MANDATORY flash_base: 32 bits hex value
# Base address of the flash part in the CPU memory space.
# Caution: this value MUST be the same for the two images to Generate the patch
#
flash-base: 0x0

# OPTIONAL  map-type:   ARM_ADSv10   | ARM_ADSv12   | ARM_SDTv25   |
#               GNU_LDv29    | IAR_XLINKv45 | TI_TMS470v12 |
#               TI_TMS470v22 | WRS_DLDv4    | ELF
#
# If image type is elf, then map informations are taken from the image itself: DO NOT provide this property.
# If image type is elf AND the property is set, the elf informations will be ignored
map-type: elf

# OPTIONAL  cpu-instruction-set:    ARM | THUMBv1 | THUMBv2 | MCORE
# Pre-dominant CPU instruction set used in the binary
# MCORE is for Freescale core
# THUMBv1 and THUMBv2 are ARM variants. Using ARM allow the Diff engine to automatically select the
# Generator process for the specific CPU variant.
# If image type is elf, instruction set (ARM) may be deduced from elf, but may not.
# If image type is elf and ARM is set and instruction set not specified in elf, default is Thumbv1.
cpu-instruction-set: THUMBv2


# OPTIONAL  cpu-endianness:     big | little
# If image type is elf can be deduced from image, but may not be present. If property set, overwrite the elf file.
# If instruction set is MCORE, always "big"
cpu-endianness: little


# OPTIONAL  exclude-regions:    [comma-separated-region-list]
# Region of the image that should be excluded. Format: start@-stop@, start@-stop@
# Addresses are specified in the CPU's address space, as 32 bits addresses
# No overlap
# exclude-regions:
#

#
# OPTIONAL  exclude-symbols:    [comma-separated-name/prefix-list]
# Exclude symbols from link-map. Format: s1,s2
# exclude-symbols:
#

# -- Properties valid only if image-type is "binary" --
# MANDATORY image_offset:       32 bits hex value
# From the flash_base parameter. May differ depending on the model or the application
# On binary type images only, error else
image-offset: 0x0

# OPTIONAL  image-header-size:  size in bytes
# Size in bytes of the header in the binary image
# image-header-size:
#

# -- Properties valid only if image-type is "s-record" or "elf" --
# OPTIONAL  gap-fill:   exclude | [byte-fill-value]
# Precise a byte value to fill the gaps as defined in the "exclude-regions" property
# gap-fill:
#

#
# -- Properties valid only if image-type is "elf" --
# OPTIONAL  elf-compatibility:      strict | ignore-bss-in-image | bfd
# Defines how the Dev Image manages elf compatibility issues, default value is strict.
# elf-compatibility: bfd
#

# OPTIONAL  import-notype-symbols:      false | true
# Defines if STT_NOTYPE symbols are imported or not. Default is false: not imported
# import-notype-symbols:
#

# OPTIONAL  import-proc-symbols:        false | true
# Defines if symbols between STT_LOPROC and STT_HIPROC (machine dependant) are imported or not.
# Default is not.
# import-proc-symbols:
#

# OPTIONAL  allow-proc-segments:        false | true
# Defines if processor handling specific required instructions are allowed or not. Default is false, Package Generation is aborted.
allow-proc-segments: true
