This commit is contained in:
2026-05-21 08:07:16 +08:00
parent 90908cf018
commit 84d8874a38
32 changed files with 271 additions and 27 deletions
+2
View File
@@ -8,9 +8,11 @@
#define DEBUG_ENABLE 1 // 暂时关闭,添加Debug.c后改回1
// 调试串口初始化(使用USART2,PA2/PA3)
// 函数作用:初始化调试串口 USART2,供 DEBUG_PRINT 输出日志使用。
void Debug_Init(void);
// 调试信息输出函数
// 函数作用:按 printf 格式输出调试日志到调试串口。
void Debug_Printf(const char* format, ...);
// 快捷宏定义