STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers

Functions

void LogInit (void)
 Initialize the UART peripheral used for logging.
 
void LogDeInit (void)
 De-initialize the UART peripheral used for logging.
 
void LogPrint (const char *format,...)
 Print a formatted log message over the UART interface. More...
 

Variables

static UART_HandleTypeDef vcpUart
 

Detailed Description

Function Documentation

◆ LogPrint()

void LogPrint ( const char *  format,
  ... 
)

Print a formatted log message over the UART interface.

Parameters
formatPrintf-style format string.
...Variable arguments matching the format string.

Buffer used for logging.

Definition at line 40 of file log.c.

Variable Documentation

◆ vcpUart

UART_HandleTypeDef vcpUart
static

UART handle for the virtual COM port used for logging.

Definition at line 37 of file log.c.