sentry_chassis_hzz/bsp/bsp_init.c

20 lines
467 B
C
Raw Normal View History

2022-11-13 21:46:52 +08:00
#include "bsp_init.h"
#include "bsp_log.h"
#include "bsp_dwt.h"
#include "bsp_usb.h"
2022-11-13 21:46:52 +08:00
#include "bsp_buzzer.h"
#include "bsp_led.h"
#include "bsp_temperature.h"
// CAN和串口会在注册实例的时候自动初始化,不注册不初始化
void BSPInit()
{
DWT_Init(168);
BSPLogInit();
2023-01-01 17:32:22 +08:00
// legacy support待删除,将在实现了led/tempctrl/buzzer的module之后移动到app层进行XXXRegister()
LEDInit();
2022-11-13 21:46:52 +08:00
IMUTempInit();
BuzzerInit();
2022-11-13 21:46:52 +08:00
}