You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EasyLogger/demo/non_os/stm32f10x/README.md

31 lines
639 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# stm32f10x 裸机 demo
---
## 1、简介
通过 `app\src\app.c``test_elog()` 方法来测试日志的输出。
### 1.1、使用方法
打开电脑的终端与demo的串口1进行连接串口配置 115200 8 1 N此时可以在终端上看到demo的打印日志
> 注意对于无法连接终端的用户也可以使用仿真器与demo平台进行连接调试观察日志的输出情况。
## 2、文件说明
`components\easylogger\port\elog_port.c` 移植参考文件
`RVMDK` 下为Keil工程文件
`EWARM` 下为IAR工程文件
## 3、其他功能
可以打开 `app\src\app.c` 的62-68行中的部分注释来测试以下功能。
- 第62行动态使能或失能日志输出
- 第64行动态设置过滤优先级
- 第66行动态设置过滤标签
- 第68行动态设置过滤关键词