This document describes techniques and tools for creating custom
targets for the Real-Time Workshop® Embedded Coder™ software. This
book includes the following chapters:
| Introduction | Scope and purpose of this document; what you need
to know before using this document; related documentation, and example
targets that will supplement what you learn from this document. |
| Overview of Embedded Target Development | Reasons for developing custom embedded targets; types
of targets; recommended target features. |
| Target Development Mechanics | Summary of the code components and control files that
make up a custom target; detailed flowchart of the build process of
the Real-Time Workshop Embedded Coder software; available customization
hooks. |
| Target Directories, Paths, and Files | Structure, location, content, and naming conventions
of target directories and files. |
| System Target Files | Detailed structure of system target files. |
| Template Makefiles | Detailed structure of template makefiles. |
| Supporting Optional Features | Requirements to support optional features for which
custom targets can opt in, such as model referencing, compiler optimization
level control, firstTime argument control, C function
prototype control, and C++ encapsulation interface control. |
| Using Target Preferences | The target preferences mechanism; how to define your
target preferences class using the Simulink Data Class Designer. |
| Interfacing to Development Tools | Issues and solutions in interfacing the build process
to makefile based and project based development tools. |
| Developing Device Drivers for Embedded Targets | Issues and solutions in the creation of inlined device
drivers specifically for embedded targets; use of the Simulink S-Function Builder to create device
drivers. |