Main Content

Use AUTOSAR compiler abstraction macros

Description

Specify use of AUTOSAR macros to abstract compiler directives

Category: Code Generation > AUTOSAR Code Generation Options

Settings

Default: Off

On

Software generates code with C macros that are abstracted compiler directives (near/far memory calls)

Off

Software generates code that does not contain AUTOSAR compiler abstraction macros.

Tip

Set the same value for top and referenced models.

Command-Line Information

Parameter: AutosarCompilerAbstraction
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Related Topics