2016-07-28 19:02:54 +00:00
|
|
|
/*
|
|
|
|
* bsp_stm32f4-discovery.c
|
|
|
|
*
|
|
|
|
* Created on: May 7, 2012
|
|
|
|
* Author: tkl
|
|
|
|
*/
|
|
|
|
|
2016-07-29 04:54:34 +00:00
|
|
|
#include "board.h"
|
2016-07-28 19:02:54 +00:00
|
|
|
|
2016-08-16 11:08:49 +00:00
|
|
|
void board_init(void)
|
|
|
|
{
|
|
|
|
#if 0
|
2016-07-28 19:02:54 +00:00
|
|
|
NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0);
|
|
|
|
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_4);
|
|
|
|
SysTick_CLKSourceConfig(RCC_SYSCLKSource_PLLCLK);
|
2016-08-16 11:08:49 +00:00
|
|
|
#endif
|
2016-07-28 19:02:54 +00:00
|
|
|
sys_tick_init(&timer_1);
|
|
|
|
}
|