Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑device_macro

In this section:
Syntax
‑‑device_macro filename

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

Parameters
filename

The C-SPY device macro file to be used (filename extension dmac).

For use with

cspybat

Description

Use this option to specify a C-SPY device macro file to be loaded before you execute the target application. A device macro is also loaded when you run a flash loader.

A device macro can include scripted reset styles that can be used by the debugger.

This option can be used more than once on the command line.

See also

Briefly about using C-SPY macros.

Caution

This option is not available in the IDE.