21 lines
535 B
C
21 lines
535 B
C
#include "bsp_init.h"
|
||
#include "bsp_log.h"
|
||
#include "bsp_dwt.h"
|
||
#include "bsp_usb.h"
|
||
#include "bsp_buzzer.h"
|
||
#include "bsp_led.h"
|
||
#include "bsp_temperature.h"
|
||
|
||
// CAN和串口会在注册实例的时候自动初始化,不注册不初始化
|
||
void BSPInit()
|
||
{
|
||
DWT_Init(168);
|
||
BSPLogInit();
|
||
// USBInit(); // 务必在进入操作系统之前执行USBInit
|
||
|
||
|
||
// legacy support,待删除,将在实现了led/tempctrl/buzzer的module之后移动到app层进行XXXRegister()
|
||
LEDInit();
|
||
IMUTempInit();
|
||
BuzzerInit();
|
||
} |