1.添加bsp说明。
This commit is contained in:
@@ -154,7 +154,7 @@ int main(void)
|
||||
|
||||
## 验证Python环境
|
||||
|
||||
验证系统是否安装Python环境。在命令行中运行 `python --version` 检查Python版本(`MR` 脚本工具依赖Python ,若无Python环境请自行安装)。
|
||||
验证系统是否安装Python环境。在命令行中运行 `python --version` 检查Python版本(`MR` 脚本工具依赖Python ,若无Python环境请自行安装,暂不支持`3.11.7`以上的版本)。
|
||||
|
||||
## 将项目导入工程
|
||||
|
||||
@@ -163,7 +163,7 @@ int main(void)
|
||||
|
||||

|
||||
|
||||
3. 将 `bsp` 目录中对应芯片的驱动复制到 `driver`:
|
||||
3. 将 `bsp` 目录中对应芯片的驱动复制到 `driver`(请仔细阅读`bsp`中的文档):
|
||||
|
||||

|
||||
|
||||
|
||||
10
README_EN.md
10
README_EN.md
@@ -165,7 +165,8 @@ the `Python` script automatically generates the configuration file.
|
||||
## Verifying Python environment
|
||||
|
||||
Verify that the Python environment is installed. Run `python --version` on the command line to check the Python
|
||||
version (the `MR` scripting tool relies on Python, install it yourself if there is no Python environment).
|
||||
version (the `MR` scripting tool relies on Python, install it yourself if there is no Python environment,
|
||||
Versions later than `3.11.7` are not supported).
|
||||
|
||||
## Import the project into the workspace
|
||||
|
||||
@@ -175,11 +176,12 @@ version (the `MR` scripting tool relies on Python, install it yourself if there
|
||||
|
||||

|
||||
|
||||
3. Copy the driver of the corresponding chip in the `bsp` directory to `driver`:
|
||||
3. Copy the driver of the corresponding chip in the `bsp` directory to `driver`
|
||||
(Please read the documentation in `bsp` carefully):
|
||||
|
||||

|
||||
|
||||
4. Remove unnecessary files` bsp `, `document`directories (you can also remove `.git `files if you don`t
|
||||
4. Remove unnecessary files`bsp`, `document`directories (you can also remove `.git `files if you don't
|
||||
need`git`). When complete, the directory structure looks like this:
|
||||
|
||||

|
||||
@@ -209,7 +211,7 @@ version (the `MR` scripting tool relies on Python, install it yourself if there
|
||||
|
||||

|
||||
|
||||
4. In the project, introduce `#include` include/mr_lib.h `and add` mr_auto_init() `to` main `function; `
|
||||
4. In the project, introduce `#include include/mr_lib.h`and add`mr_auto_init()`to`main`function;
|
||||
Automatically initialize the function and start using it.
|
||||
|
||||
Note: More commands can be entered: `python build.py -h` to view.
|
||||
|
||||
Reference in New Issue
Block a user