rtw.connectivity.MakefileBuilder
Configure toolchain-based build process
Description
Control toolchain-based build process for the creation of a PIL application.
Creation
Description
rtw.connectivity.MakefileBuilder(componentArgs, targetApplicationFramework,
exeExtension)
creates an object with these arguments:
componentArgs
- Anrtw.connectivity.ComponentArgs
objectTargetApplicationFramework
- Anrtw.pil.RtIOStreamApplicationFramework
object. For example,myPIL.TargetFramework
.exeExtension
- Name extension of executable file for target system. The extension depends on the toolchain defined byrtw.connectivity.ConfigRegistry
. For an embedded target, the extension can be, for example,'.elf'
,'.abs'
,'.sre'
, or'.hex'
. For a Windows® development computer target, the extension is'.exe'
. For a UNIX® development computer target, the extension is empty,''
.
If you use the template makefile approach to build the PIL application, you must provide a template makefile that includes these tokens:
MAKEFILEBUILDER_TGT
STANDALONE_SUPPRESS_EXE
You can create the template makefile by customizing a copy of
one of the supplied ERT template makefiles, for example,
ert_unix.tmf
or ert_vc64.tmf
. You must
associate the MAKEFILEBUILDER_TGT
and
STANDALONE_SUPPRESS_EXE
tokens with corresponding
makefile rules. For more information, see Customize Template Makefiles.
Examples
Using rtw.connectivity.MakefileBuilder
in PIL Connectivity
For an example that shows how to use this object in setting up PIL connectivity, see:
For MATLAB®, Processor-in-the-Loop Execution from Command Line
For Simulink®, Configure Processor-In-The-Loop (PIL) for a Custom Target
Version History
Introduced in R2008b