/****************************************************************************** * * Copyright (c) 2017-2019 by Löwenware Ltd * Please, refer LICENSE file for legal information * ******************************************************************************/ /** * @file uart.c * @author Ilja Kartašov * @brief * * @see https://lowenware.com/ */ #include "uart.h" unsigned int *uart_base = (unsigned int *)UART_BASE; void uart_init(void) { } void uart_putc(unsigned char c) { *uart_base = c; if(c == '\n') *uart_base = '\r'; }