17 lines
304 B
C
Executable File
17 lines
304 B
C
Executable File
/*
|
|
* bsp_stm32f4-discovery.c
|
|
*
|
|
* Created on: May 7, 2012
|
|
* Author: tkl
|
|
*/
|
|
|
|
#include "board.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);
|
|
}
|