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

This file contains the board initialization and de-initialization implementation, including system clock configuration, GPIO pinout setup, and peripheral initialization for the STM32L496 Discovery board. More...

#include "board.h"
#include "error_handler.h"
#include "led.h"
#include "log.h"
#include "rcc.h"
#include "systick.h"

Go to the source code of this file.

Functions

static void PinoutInit (void)
 Initialize the board GPIO pinout including button, LEDs, UART, and SDMMC pins.
 
static void PinoutDeInit (void)
 De-initialize all board GPIO pins and disable the GPIO port clocks.
 
static void SystemClockConfig (void)
 Configure the system clock, PLL, and peripheral clocks.
 
void BoardInit (void)
 Initialize the board hardware and peripherals. More...
 
void BoardDeInit (void)
 De-initialize the board hardware and peripherals. More...
 
void SetVectorTableLocation (const uint32_t address)
 Set the vector table location to the specified address. More...
 

Detailed Description

This file contains the board initialization and de-initialization implementation, including system clock configuration, GPIO pinout setup, and peripheral initialization for the STM32L496 Discovery board.

STM32 Bootloader

Author
Akos Pasztor

Definition in file board.c.