mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
清除所有的legacy support,增加编译时的内存使用预测和Werror选项,统一命名。
This commit is contained in:
@@ -1,13 +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();
|
||||
//
|
||||
void BSPInit()
|
||||
{
|
||||
DWT_Init(168);
|
||||
BSPLogInit();
|
||||
}
|
||||
|
||||
|
||||
#endif // !BSP_INIT_h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user