console: Add semihosting console

Many chips have only one serial port. When the serial port is occupied
by other devices, there is a lack of a console to output debugging
information. Semihosting can provide a console. The disadvantage of
semihosting is that a debugger must be connected, so it can only be
used for online debugging.

Signed-off-by: ZhongYao Luo <LuoZhongYao@gmail.com>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
ZhongYao Luo 2019-11-29 15:07:21 +08:00 committed by Kumar Gala
commit 1811fff2dd
4 changed files with 55 additions and 0 deletions

View file

@ -11,3 +11,4 @@ zephyr_sources_if_kconfig(xtensa_sim_console.c)
zephyr_sources_if_kconfig(native_posix_console.c)
zephyr_sources_if_kconfig(uart_mux.c)
zephyr_sources_if_kconfig(gsm_mux.c)
zephyr_sources_if_kconfig(semihost_console.c)