franca_ara_tools icon indicating copy to clipboard operation
franca_ara_tools copied to clipboard

Improvment for standard type extension mechanism

Open MLanghammer opened this issue 5 years ago • 0 comments

We have identified three improvments for the extension mechanism of Autosar standard types:

  • Autosar 2 Franca direction: in order to be able to use Autosar files without chaning them so that the references to primitive types match the name of Franca primitive types the following should be possible: the creation of type refs within the customized Std-types.arxml. These references are then be used to identifiy whether a reference in the autosar files points to a standard type or not.
  • Franca 2 Autosar direction: also use the customized input file, which references the ARXML-types that should acutally be used. During the transformation create Autosar-references that directly use the referenced types directly, i.e., we omit using the artifical created customized file in later stages.
  • it should be possible to provide multiple files to the std files to the tool in order to be able to use the referenced ARXML-types together with the customized Std-files.
  • Autosar 2 Franca: to support multiple definitions of the same primitive type in Autosar (e.g., it can happen that the autosar files have multiple ways to describe UINT32), we need to create multiple customized types with the same name (but in different packages) and use the correct one for the Autosar 2 Franca transformation.

MLanghammer avatar Nov 07 '19 14:11 MLanghammer