aboutsummaryrefslogtreecommitdiff
path: root/src/util/print.rs
blob: 9b73f077efe917bc275c318c56f8baf07ced94cf (plain)
1
2
3
4
5
6
7
8
9
10
11
//! # Printing to UART
//!
//! This module contains the macros to print formatted strings to UART.
use crate::bsp::drivers::uart::UART_WRITER;
use crate::lib::console::interface::Write;
use core::fmt;

#[doc(hidden)]
pub fn _serial_print(args: fmt::Arguments) {
    UART_WRITER.write_fmt(args).unwrap();
}