2016-07-23 05:59:54 +00:00
|
|
|
/*
|
|
|
|
* bsp_stm32f4-discovery.c
|
|
|
|
*
|
|
|
|
* Created on: May 7, 2012
|
|
|
|
* Author: tkl
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "bsp_stm32f4-discovery.h"
|
2016-07-25 13:23:31 +00:00
|
|
|
#if 0
|
2016-07-23 05:59:54 +00:00
|
|
|
#include "usbd_cdc_vcp.h"
|
|
|
|
|
|
|
|
volatile int32_t ITM_RxBuffer;
|
2016-07-25 13:23:31 +00:00
|
|
|
#endif
|
2016-07-23 05:59:54 +00:00
|
|
|
|
|
|
|
void board_init(void) {
|
|
|
|
SystemInit();
|
|
|
|
NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0);
|
|
|
|
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_4);
|
|
|
|
SysTick_CLKSourceConfig(RCC_SYSCLKSource_PLLCLK);
|
|
|
|
|
2016-07-25 13:23:31 +00:00
|
|
|
// USBD_Init(&USB_OTG_dev, USB_OTG_FS_CORE_ID, &USR_desc, &USBD_CDC_cb, &USR_cb);
|
2016-07-23 05:59:54 +00:00
|
|
|
}
|