Boen_Shi 8be2866433 feat(base): 初始化 MSPM0 开发环境
- 添加头文件和配置文件支持
- 更新.gitignore忽略编译和IDE相关文件
- 添加基础的bsp代码
2026-07-16 14:45:26 +08:00

30 lines
473 B
C

#ifndef PRINTF_H
#define PRINTF_H
#include <stdarg.h>
#include <stdint.h>
#include <ti_msp_dl_config.h>
#include <string.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
void Print_init();
// 格式化输出函数
void print(const char *format, ...);
// 简单字符串输出(可选)
void print_str(const char *str);
// 单字符发送(可选)
void print_char(char ch);
#ifdef __cplusplus
}
#endif
#endif // PRINTF_H