6.1.2.9. IARIntegration¶
Use IAR Embedded Workbench project file (.ewp/.eww) for analysis compilation
This rule uses an IAR Embedded Workbench project file (.ewp) or
an IAR Embedded Workbench workspace file (.eww) for the
analysis compilation and corresponds to the command-line tool
build_ewp.
A corresponding IARToolchain has to be configured.
The following places define options that affect this rule: BuildSystemIntegration, Project-GlobalOptions abort_on_error : bool = capture_output : bool =
The output will be parsed according to the format configured with the
options output_format,
stdout_format,
stderr_format.
config : str =
Configuration to analyze.
cwd : bauhaus.analysis.config.ProjectRelativePath | None =
Directory for execution of tool environment : dict[str, str] =
Environment for calling tool ew_dir : bauhaus.analysis.config.PlainPath | None =
Location of the Embedded Workbench directory (required for expansion of project
file variable ewp_file : bauhaus.analysis.config.PlainPath | None =
Location of the IAR Embedded Workbench project file (
If specified, only this project will be built, regardless of whether
eww_file is specified as well.
If not specified, then eww_file must be specified in which
case all projects in the workspace will be built.
eww_file : bauhaus.analysis.config.PlainPath | None =
Location of the IAR Embedded Workbench workspace file (
If not specified, project file variable iarbuild_toolname : bauhaus.analysis.config.PlainPath | None =
Location of the
When enabling this mode of operation, all options except for
ewp_file and config are ignored.
Also the output IR filename will have the suffix options : str | None =
Additional command-line options to pass to tool output_directory_prefix : bauhaus.analysis.config.PlainPath | None =
Append prefix to output directory structure.
output_format : list[str] =
The format names available here correspond to the
This option only has an effect if capture_output is
true.
stderr_format : list[str] =
The format names available here correspond to the
This option only has an effect if capture_output is
true.
stdout_format : list[str] =
The format names available here correspond to the
This option only has an effect if capture_output is
true.
toolkit_dir : bauhaus.analysis.config.PlainPath | None =
Location of IAR Toolkit directory (required for expansion of project file variable
Options¶
abort_on_error¶
Truecapture_output¶
Falseconfig¶
'Release'cwd¶
Nonebuild_ewp. Defaults to
/Project/directory, if left unspecified.
environment¶
{}build_ewp.
These entries are added to the environment and existing ones will be overwritten.
ew_dir¶
None$EW_DIR$ if not detected via Windows registry).
ewp_file¶
None.ewp) to use for
analysis compilation (interpreted relative to
/Project/directory, or cwd
if set).
eww_file¶
None.eww) to use
for analysis compilation (interpreted relative to
/Project/directory, or cwd
if set).
$WS_DIR$ cannot be expanded.
iarbuild_toolname¶
Noneiarbuild tool. If set, the build uses this
iarbuild to create an intermediate jsondb and implicitly
uses build_compile_commands to run the build instead of using
build_ewp.
.ir appended, so that
you will have to adjust /Project/ir accordingly.
options¶
Nonebuild_ewp.
output_directory_prefix¶
Noneoutput_format¶
['generic']provider
options in /Analysis/AnalysisControl/ExternalAnalysisFormats.
stderr_format¶
[]provider
options in /Analysis/AnalysisControl/ExternalAnalysisFormats.
stdout_format¶
[]provider
options in /Analysis/AnalysisControl/ExternalAnalysisFormats.
toolkit_dir¶
None$TOOLKIT_DIR$).