Refactor UART stdio retargeting
Open, LowPublic

Description

The UART stdout retargeting is refactored to avoid duplication of code, and in particular for Armclang, to target low-level I/O functions instead of fputc(...).