summaryrefslogtreecommitdiff
path: root/board.c
blob: f4b836c98ca30425cf44fc4e5be440fcfc51137d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <ch.h>
#include <hal.h>

const PALConfig pal_default_config = {
	{VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH},
	{VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH},
	{VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH},
	{VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH},
	{VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH},
};

void __early_init(void) {
	stm32_clock_init();
}

void boardInit(void) {
	
}