• Damien George's avatar
    stmhal/uart: Provide a custom function to transmit over UART. · 16a584d7
    Damien George authored
    The HAL_UART_Transmit function has changed in the latest HAL version such
    that the Timeout is a timeout for the entire function, rather than a
    timeout between characters as it was before.  The HAL function also does
    not allow one to reliably tell how many characters were sent before the
    timeout (if a timeout occurred).
    This patch provides a custom function to do UART transmission, completely
    replacing the HAL version, to fix the above-mentioned issues.
uart.c 36.1 KB