STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
log.c File Reference

This file contains the UART-based logging implementation for debug output via the virtual COM port. More...

#include "log.h"
#include "board.h"
#include "error_handler.h"
#include "rcc.h"
#include <stdarg.h>
#include <stdio.h>

Go to the source code of this file.

Functions

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

Variables

static UART_HandleTypeDef vcpUart
 

Detailed Description

This file contains the UART-based logging implementation for debug output via the virtual COM port.

STM32 Bootloader

Author
Akos Pasztor

Definition in file log.c.