Skip to main content

IAR Embedded Workbench for RISC-V 3.40

Debug options for CMake

In this section:
Preparing a CMake project for debugging:
  1. Choose Project>Options>General Options>Target and make sure that all options reflect the options you have set in CMake for the project.

  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.