Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑cycles

In this section:
Syntax
‑‑cycles cycles

Note that this option must be placed before the ‑‑backend option on the command line.

Parameters
cycles

The number of cycles to run.

For use with

cspybat

Description

Use this option to specify the maximum number of cycles to run. If the target program executes longer than the number of cycles specified, the target program will be aborted. Using this option requires that the C-SPY driver you are using supports a cycle counter, and that it can be sampled while executing.

Caution

This option is not available in the IDE.