Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑semihosting

In this section:
Syntax
‑‑semihosting={none|iar_breakpoint}
Parameters
No parameter

Use standard semihosting*.

none

Does not use semihosted I/O.

iar_breakpoint

Uses the IAR proprietary semihosting variant.

For use with

All C-SPY drivers.

Description

Use this option to enable semihosted I/O and to choose the kind of semihosting interface to use.

Note that if this option is not used, semihosting will by default be enabled and C-SPY will try to choose the correct semihosting mode automatically. This means that normally you do not have to use this option if your application is linked with semihosting.

To make semihosting work, your application must be linked with a semihosting library.

* If no parameter is specified, the behavior is as described in The semihosting mechanism.

See also

For information about linking with semihosting, see The semihosting mechanism.

Caution

Project>Options>General Options>Library Configuration