Not fully understand.
What does "semihosting" means?
In the embedded development, codeblocks use remote gdb protocol to debug program in the arm board.
If user enable semihosting control, he can get printf and scanf capability.
Now I can get print message via semihosting control, but I don't have any idea to use scanf.