To enable semihosting debug Keil users must define DEBUG_ENABLE_SEMIHOST in both C/C++ preprocessor symbols.
IAR users must define DEBUG_ENABLE_SEMIHOST in both C/C++ Compiler preprocessor symbols.