‑‑debug_lib
Syntax
--debug_lib [none|semihosting|iar_breakpoint]Parameters
| No low-level support for I/O available in the libraries—which is the same effect as when not specifying the |
| The debug library uses semihosted I/O, using RISC-V standard semihosting. |
| The debug library uses a proprietary I/O mechanism that enables code running on the target to communicate by halting the application using a breakpoint. This legacy method is mainly for backward compatibility and troubleshooting—the semihosting mechanism works without debug information and without consuming a breakpoint. |
Description
Use this option to enable C-SPY emulated I/O.
See also
Briefly about C-SPY emulated I/O and The semihosting mechanism.
Caution
Project>Options>General Options>Library Configuration>Library low-level interface implementation