Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The semihosting has also to be initialized inside the OpenOCD debugger environment.

(warning)Semihosting requires a debugger attached.

This can be achieved by adding the command "monitor arm semihosting enable" to the GDB commands executed by the IDE inside the "Debug Settings...".

After starting a debug session, you have to switch the console window to the OpenOCD one:

Image Added

Image Added