Characteristics of eFMU Binary Code Generator

This topic describes the characteristics of the operation that generates a binary code from an eFMU containing a production code.

This page discusses:

See Also
About eFMU Binary Code Generator
Data Management for eFMU Binary Generator

Properties

This table describes the properties of the operation:

Operation Characteristics Values
Operation name eFMU Binary Code Generator
Operation nature Middleware Generation Build
Operation description This operation generates an eFMU including Binary Code from an ESP architecture or ESP component.
Operation scan description No scan on folder due to resource consumption
Operation input files Folder containing files (generated code and esp file) and eFMU (.efmu file or folder)
Operation input objects eFMU
SPO Specific Return codes The following return codes are displayed to indicate the check result:
  • 0: OK - Normal ending
  • -1: Unexpected internal exception
  • 2: Reading manifest error
  • 3: Generation error
  • 4: Writing manifest error
Feature Middleware generation - 50 credits per component
Note:

The credits consumption depends on the number of input objects. So the credits consumption is fifty (50) credits, if the generation is performed on one component. If the generation is performed on two components, the cost is hundred (100) credits.

Parameters

This section describes the parameters, which can be used when invoking this operation.

Table 1. outputAsEfmuParameter
Attributes Values
Name outputAsEfmu
Description Output Production Code as .efmu file possible values are Ture or False.If true, an efmu file is generated else an eFMU folder.
Type Boolean
Values[Default] False
Multiplicity 0..1
Table 2. binCodeNameParameter
Attributes Values
Name binCodeName
Description Define the name of the eFMU Binary code container
Type String
Values[Default] BCode <ProdCodeName>
Multiplicity 0..1
Table 3. prodCodeNameParameter
Attributes Values
Name prodCodeName
Description Define the ProductionCode container to use as input binary Code generation. This parameter is required if the eFMU contains several ProductionCode container to select the ProductionCode container to use for BinaryCode generation.
Type String
Values[Default] -
Multiplicity 0..1
Table 4. outputEFMUNameParameter
Attributes Values
Name outputEFMUName
Description Output eFMU name for folder or .efmu file
Type String
Values[Default] eFMU Output
Multiplicity 0..1
Table 5. switchCmpOptSetsParameter
Attributes Values
Name switchCmpOptSets
Description Additional Switch Flag of Compiler option sets
Type String
Values[Default] 02 pipe g std=gnu++14 Wall
Multiplicity 0..1
Table 6. procDefCmpOptSetsParameter
Attributes Values
Name procDefCmpOptSets
Description Processor Definition Flag of Compiler option sets
Type String
Values[Default] -
Multiplicity 0..1
Table 7. addIncDirCmpOptSetsParameter
Attributes Values
Name addIncDirCmpOptSets
Description Additional include Directory of Compiler option sets
Type String
Values[Default] -
Multiplicity 0..1
Table 8. optRefCmpOptSetsParameter
Attributes Values
Name optRefCmpOptSets
Description Option Reference of Compiler option sets
Type String
Values[Default] -
Multiplicity 0..1
Table 9. switchLkrOptSetsParameter
Attributes Values
Name switchLkrOptSets
Description Switch to Linker option sets
Type String
Values[Default] -
Multiplicity 0..1
Table 10. libLkOptSetsParameter
Attributes Values
Name libLkOptSets
Description Libraries of Linker option sets
Type String
Values[Default] -
Multiplicity 0..1
Table 11. addLibDirLkrOptSetsParameter
Attributes Values
Name addLibDirLkrOptSets
Description Additional Library Directory of Linker option sets
Type String
Values[Default] -
Multiplicity 0..1
Table 12. optRefLkrOptSetsParameter
Attributes Values
Name optRefLkrOptSets
Description Option Reference of Linker option sets
Type String
Values[Default] -
Multiplicity 0..1
Table 13. tgtNameParameter
Attributes Values
Name tgtName
Description Target name

Possible values are:

  • "Win32"
  • "Win64"
  • "Lin32"
  • "Lin64"

Type Enum
Values[Default] "Win64"
Multiplicity 0..1
Table 14. tgtVendorParameter
Attributes Values
Name tgtVendor
Description Target vendor
Type String
Values[Default] -
Multiplicity 0..1
Table 15. tgtChipVersionParameter
Attributes Values
Name tgtChipVersion
Description Target chip version
Type String
Values[Default] -
Multiplicity 0..1
Table 16. objExtParameter
Attributes Values
Name objExt
Description Object file extension
Type String
Values[Default] 0
Multiplicity 0..1
Table 17. binExtParameter
Attributes Values
Name binExt
Description Binary file extension
Type String
Values[Default] -
Multiplicity 0..1
Table 18. linkParameter
Attributes Values
Name link
Description Link after compile. Possible values are : "ture", "false"
Type Boolean
Values[Default] False
Multiplicity 0..1