SWRA704 June 2021 CC3120 , CC3130 , CC3135
To enable debug printing (printf) in IAR Embedded Workbench with the 32L4R9IDISCOVERY, go to the project options, open General Options, and select the Library Configuration. Set the interface implementation as Semihosted and stdout/stderr as Via semihosting.
Start a debug session, then open View -> Terminal I/O.