6.1.2.10. KeilIntegration¶
Use KEIL μVision project file (.uvprojx) for analysis compilation
This rule uses an KEIL μVision project file (.uvprojx or
.uvproj) for the analysis compilation and corresponds to the
command-line tool build_uvprojx or build_uvproj
respectively.
A corresponding KeilToolchain has to be configured.
The following places define options that affect this rule: BuildSystemIntegration, Project-GlobalOptions abort_on_error : bool = build_tool : BuildTool =
Specify the command-line tool to build the project. For KEIL ARM projects, we
recommend to use capture_output : bool =
The output will be parsed according to the format configured with the
options output_format,
stdout_format,
stderr_format.
cwd : bauhaus.analysis.config.ProjectRelativePath | None =
Directory for execution of tool environment : dict[str, str] =
Environment for calling tool options : str | None =
Additional command-line options to pass to tool output_directory_prefix : bauhaus.analysis.config.PlainPath | None =
Append prefix directory to output directory structure (if
output_directory_suffix : bauhaus.analysis.config.PlainPath | None =
Append suffix directory 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.
target : str | None =
The target defined in the project file to analyze.
tools_ini : bauhaus.analysis.config.PlainPath | None =
Path to the uvprojx_file : bauhaus.analysis.config.PlainPath =
KEIL μVision project file ( These types are used by options listed above: build_uvprojx build_uvprojOptions¶
abort_on_error¶
Truebuild_tool¶
'build_uvprojx'build_uvprojx (even for .uvproj files),
whereas for KEIL C166/C167 you should be using build_uvproj with
.uvproj files.
capture_output¶
Falsecwd¶
Nonebuild_uvprojx or
build_uvproj respectively. Defaults to
/Project/directory if left unspecified.
environment¶
{}build_uvprojx or build_uvproj
respectively. These entries are added to the environment and existing ones will be
overwritten.
options¶
Nonebuild_uvprojx or
build_uvproj respectively.
output_directory_prefix¶
NoneOutputDirectory is not defined as absolute path inside the project
file).
output_directory_suffix¶
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.
target¶
Nonetools_ini¶
Nonetools.ini file of the KEIL installation to use
(only required for build tool build_uvprojx and if
tools.ini is not detected via Windows registry).
uvprojx_file¶
'None (value must be set)'.uvprojx or .uvproj) to use
for analysis compilation (interpreted relative to
/Project/directory, or cwd
if set).
Option Types¶
BuildTool¶
An enumeration.
build_uvprojx as build tool.build_uvproj as build tool.