Main Content

开发目标

Create a target based on the ARM®Cortex®-M processors

Atargetdeploys MATLAB®和Simulink®设计嵌入式硬件。使用目标,您可以通过生成特定于处理器的代码,集成实时操作系统和设备驱动程序,以及在嵌入式硬件上进行分析执行来验证,验证和部署应用程序。

TheEmbedded Coder®Support Package for ARM Cortex-M Processorshelps you develop new Embedded Coder targets based on the ARM Cortex-M processor. This support package provides you with the following classes and functions to help develop your targets, collectively referred to as theTarget Software-Development-Kit (SDK).

在开始之前,请参阅What Is a Target?Prerequisites. When you are ready to start creating your own target, follow the steps inImplement a Target.

Functions

createTarget Create an object for the target being developed
createHardware Create an object for the hardware that a target supports
deleteTarget 删除一个目标
loadtarget. Load a target
saveTarget Save a target
testTarget Test the features of the target using the supported hardware

Classes

expand all

Target An object for the target being developed
BaremetalScheduler Create an object for a bare metal scheduler used for hardware
BaseRateTrigger Trigger that runs base rate task in generated code
Deployer Application deployment configuration
ExternalMode 外部模式有限公司nfiguration
ioInterface. IO interface connected to hardware
OperatingSystem Operating system that runs on hardware
PIL Processor-in-the-loop simulation configuration
Profiler Code execution profiler that collects timing information for generated code
Hardware 运行生成的代码的硬件
EthernetInterface Ethernet interface connected to hardware
SerialInterface Serial interface connected to hardware
装载机 An object that describes how to load code to hardware
Toolchain Toolchain configuration
BuildConfiguration Configuration that describes how to build generated code

Topics

What Is a Target?

An overview of the concepts of a target, including the hierarchy of targets, target features, and how targets work.

Prerequisites

An overview of the system and product requirements, and recommend skills of a developer needed to create a target.

Implement a Target

Procedural guide to create a target for the ARM Cortex derived hardware board. Follow the sections provide to create a custom Simulink target for your ARM Cortex derived hardware board.

将目标交付给最终用户

I/O device driver blocks generate code that sends and receives data for algorithm code.

Design Cases

Example of target designs

Class Diagram for the Target SDK

A class diagram showing the relationship and hierarchy of the Target SDK classes.