kosmos/source/firmware/arch/stm32f4xx/board/stm32f4-discovery/stm32f4-discovery.c
2016-07-28 21:02:54 +02:00

17 lines
324 B
C
Executable File

/*
* bsp_stm32f4-discovery.c
*
* Created on: May 7, 2012
* Author: tkl
*/
#include "include/stm32f4-discovery.h"
void board_init(void) {
NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0);
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_4);
SysTick_CLKSourceConfig(RCC_SYSCLKSource_PLLCLK);
sys_tick_init(&timer_1);
}