Hi,
please make sure that you enabled Semihosting console in debug configurations:
jiri_kral_0-1606225664212.png
And check, if you are using STDC library with Debugger console support:
jiri_kral_1-1606225728412.png
If all is set correctly, semihosting console should work:
jiri_kral_2-1606225782750.png
Jiri