Commit 07f2ccd9 authored by Chen Pei's avatar Chen Pei Committed by Anup Patel
Browse files

lib: utils/serial: Optimize semihosting_putc implementation



For some debuggers that do not implement SYSWRITEC and SYSREADC
operations, we can use SYSWRITE and SYSREAD instead like the
implementation of semihosting_getc().

Signed-off-by: default avatarChen Pei <cp0613@linux.alibaba.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 52fd64b8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment