Skip to main content

IAR Embedded Workbench for Arm 9.70.x

Debug options for CMake/CMSIS-Toolbox

In this section:
Preparing a CMake/CMSIS-Toolbox project for debugging:
  1. Choose Project>Options>General Options>Target and select your target device.

    For a CMSIS-Toolbox project, you can skip this step and instead use the option Automatically resolve device, see CMake/CMSIS-Toolbox options and CMSIS-Toolbox options.

  2. On the Library Configuration page in the same options category, select these options:

    Option

    Setting

    Library low-level interface implementation

    Semihosted

    stdout/stderr

    Via semihosting

  3. Now the project is ready for debugging using the IAR C-SPY Debugger.