Use AUTOSAR compiler abstraction macros
Use compiler abstraction macros
Model Configuration Pane: Code Generation > AUTOSAR Code Generation Options
Description
Specify use of AUTOSAR macros to abstract compiler directives
Settings
'off'
(default) | 'on'
'off'
– Software generates code with C macros that are abstracted compiler directives (near/far memory calls).'on'
– Software generates code that does not contain AUTOSAR compiler abstraction macros.
Tips
All models in a model hierarchy must specify the same value for this parameter.
Recommended Settings
Application | Setting |
---|---|
Debugging | No Impact |
Traceability | No Impact |
Efficiency | No Impact |
Safety precaution | No Impact |
Programmatic Use
Parameter: AutosarCompilerAbstraction |
Type: character vector |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2011a