FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Io

Functions

void printf_uart_init (uint8_t uart_id)
 Initialize printf via uart. More...
 
void system_exit_printf_flush ()
 Flush printf buffer before exit. More...
 

Description

Function Documentation

void printf_uart_init ( uint8_t  uart_id)

This function initializes a UART device to enable printing through it.

Note
Printf via uart is only available once scheduler has started. Otherwise the output will be through debug_bridge.

Referenced by system_init().

void system_exit_printf_flush ( )

This function is called before leaving platform/interrupting runtime to flush current output buffer if it has been filled.

References pi_uart_close().

Referenced by system_exit().