Skip to content

V0.4.4

Latest

Choose a tag to compare

@cogu cogu released this 17 Mar 14:23

Dependency changes

Changed minumum Python version from 3.4 to 3.6.

Fixes and Improvements

Constants

  • Fix: Using enum values in inside records generates invalid XML
  • Improvement: label parameter in RecordValueAR4 is now optional

Workspace

  • Fix: autosar.workspace() factory method is broken

RTE Generator

  • Fix: Updated RTE generator to use cfile 0.2.0 API

Parameter handling

  • Fix: Removed duplicate class ParameterDataPrototype
  • Fix: Writing XML for ParameterInterface is not working
  • Improvement: Add alias createImplementationTypeReference for backwards compatibility

New feature

There is now basic support for manually setting PortAPIOptions during port creation.

Changed functions:

  • createRequirePort
  • createProvidePort

Both port creation functions now accepts the optional argument options which accepts a dict value.

Supported key-value pairs:

  • takeAddress: bool
  • indirectAPI: bool
  • transformerErrorHandling: bool

During the creation of the SWC behavior object, instead of creating default PortAPIOptions it will use the
options set earlier during port creation.