mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 03:27:45 +08:00
imu test
This commit is contained in:
22
User_Code/bsp/bsp_init.h
Normal file
22
User_Code/bsp/bsp_init.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef BSP_INIT_h
|
||||
#define BSP_INIT_h
|
||||
|
||||
#include "bsp_init.h"
|
||||
// #include "bsp_log.h"
|
||||
#include "bsp_dwt.h"
|
||||
// #include "bsp_usb.h"
|
||||
|
||||
/**
|
||||
* @brief bsp层初始化统一入口,这里仅初始化必须的bsp组件,其他组件的初始化在各自的模块中进行
|
||||
* 需在实时系统启动前调用,目前由RobotoInit()调用
|
||||
*
|
||||
* @note 其他实例型的外设如CAN和串口会在注册实例的时候自动初始化,不注册不初始化
|
||||
*/
|
||||
inline void BSPInit()
|
||||
{
|
||||
DWT_Init(480); //Todo:修改这里以适配喵板cpufreq
|
||||
// BSPLogInit();
|
||||
}
|
||||
|
||||
#endif // !BSP_INIT_h
|
||||
|
||||
Reference in New Issue
Block a user