infantry_gimbal/bsp/bsp_init.h

26 lines
556 B
C
Raw Normal View History

2024-03-27 00:09:20 +08:00
#ifndef BSP_INIT_h
#define BSP_INIT_h
#include "bsp_init.h"
#include "bsp_log.h"
#include "bsp_dwt.h"
#include "bsp_usb.h"
#include "bsp_spi.h"
2024-03-27 00:09:20 +08:00
/**
* @brief bsp层初始化统一入口,bsp组件,
* ,RobotoInit()
*
* @note CAN和串口会在注册实例的时候自动初始化,
*/
//
void BSPInit()
{
DWT_Init(168);
BSPLogInit();
}
#endif // !BSP_INIT_h