1.补充README。
This commit is contained in:
14
README.md
14
README.md
@@ -133,6 +133,12 @@
|
||||
|
||||

|
||||
|
||||
5. 将文件加入到IDE中(大部分IDE都能自动识别工程路径下的文件,无需进行此步骤)。以 `keil` 为例:
|
||||
|
||||

|
||||
|
||||
添加 `source`、`device`、`driver` 目录下的所有文件。
|
||||
|
||||
## 配置菜单选项
|
||||
|
||||
1. 在 `mr-library` 目录下打开命令行工具,运行 `menuconfig` 进行菜单配置。
|
||||
@@ -172,8 +178,12 @@
|
||||
|
||||

|
||||
|
||||
3. 在您的工程中引入 `#include "include/mr_lib.h"`。
|
||||
4. 在 `main` 函数中添加 `mr_auto_init();` 自动初始化函数。
|
||||
3. 配置GNU语法。如果您使用的是非 `GCC` 编译器,请使能GNU语法。以 `keil` 为例:
|
||||
|
||||

|
||||
|
||||
4. 在您的工程中引入 `#include "include/mr_lib.h"`。
|
||||
5. 在 `main` 函数中添加 `mr_auto_init();` 自动初始化函数。
|
||||
|
||||
----------
|
||||
|
||||
|
||||
BIN
document/picture/README6.png
Normal file
BIN
document/picture/README6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 111 KiB |
BIN
document/picture/README_Keil.png
Normal file
BIN
document/picture/README_Keil.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
Reference in New Issue
Block a user