メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

target.HardwareComponentSupport クラス

名前空間: target

Describe support for a hardware component

R2022b 以降

Description

Use a target.HardwareComponentSupport object to specify that a tool or toolchain applies to a particular target device.

To create a target.HardwareComponentSupport object, use the target.create function.

The target.HardwareComponentSupport class is a handle class.

プロパティ

すべて展開する

Supported target device, for example, a target.Processor or a target.Board object.

Attributes:

GetAccess
public
SetAccess
public

すべて折りたたむ

This code snippet shows how you can create a target.HardwareComponentSupport object and use it to define a toolchain that is available only when the target device Intel-x86-64 (Windows64) is selected.

tc = target.create('Toolchain', 'Name', 'My Toolchain');
tc.Builder = target.create('CMakeBuilder', 'Generator', 'Ninja');
tc.SupportedHardware = target.create('HardwareComponentSupport');
tc.SupportedHardware.Component = target.get('Processor', 'Intel-x86-64 (Windows64)');

バージョン履歴

R2022b で導入