first commit

This commit is contained in:
TuxMonkey
2026-01-17 14:06:59 +08:00
commit 8c6429f05a
497 changed files with 322072 additions and 0 deletions

24
bsp/bsp_init.h Normal file
View File

@@ -0,0 +1,24 @@
#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和串口会在注册实例的时候自动初始化,不注册不初始化
*/
//
void BSPInit()
{
DWT_Init(168);
BSPLogInit();
}
#endif // !BSP_INIT_h