Skip to content

[target-info] command

The target-info command prints the full profile of a single target platform: CPU core, supported clock speeds, memories and their sizes, capabilities, the planner's preferred memory placement order, and the minimum alignment requirement.

If an unknown target name is supplied, the command fails with an error listing every valid target name.

Usage

helia-aot target-info --name <target>

Examples

Inspect a target

$ helia-aot target-info --name apollo330mp_evb
Target: apollo330mp_evb
  CPU: cortex-m55
  Clock speeds (MHz): 96, 192, 250
  Capabilities: MCU, DSP, MVE, FP16, BLE, USB
  Memories:
    MRAM: 2 MB
    SRAM: 1.75 MB
    DTCM: 256 KB
  Preferred memory order: DTCM, SRAM, MRAM
  Minimum alignment (bytes): 16
  Usage: helia-aot convert --platform.name apollo330mp_evb ...

Unknown target

$ helia-aot target-info --name apollo330
Error: Unknown platform 'apollo330'. Valid targets: apollo330mp_evb, apollo3_blue_evb, ...
  hint: Run `helia-aot list-targets` to list targets, or `helia-aot target-info --name <target>`
  for a target's capabilities.

The same actionable error is raised when an unknown platform.name is passed to convert.

Available Arguments

Argument Type Required Description
--name str Yes Target platform name, as reported by list-targets. Matched case-insensitively.

Python API

from helia_aot.platforms import get_platform

platform = get_platform("apollo510b_evb")
print(platform.cpu, platform.speeds, platform.capabilities)

See also