Skip to content

Commit 9812a06

Browse files
committed
【完善】micropython 插件说明文档
1 parent 29fafc1 commit 9812a06

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/MicroPythonPlug-in/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,27 @@ VSCode 最好用的 MicroPython 插件,为 MicroPython 开发提供了强大
1111
- 支持在设备上运行示例代码
1212
- 支持运行选中的代码片段
1313
- 支持多款 MicroPython 开发板
14+
- 支持在 windows 以及 ubuntu 操作系统下运行
1415

1516
## 准备工作
1617

17-
如果想要使用 MicroPython 自动补全功能(如果暂时不需要自动补全功能,可以跳过这一步),需要安装依赖的 Microsoft Python 插件,准备工作如下:
18+
如果想要使用 MicroPython 自动补全功能(如果暂时不需要自动补全功能,可以跳过这一步),需要安装依赖的 Python 插件,准备工作如下:
1819

19-
1. 安装 Microsoft Python 插件
20+
1. 安装 Python 插件
2021

2122
2. 按照 Python 插件的提示在 PC 上安装 Python3 并加入到系统环境变量中
2223

2324
![Python plug](assets/install_python_plug.png)
2425

2526
如果在 PC 上已经安装过上述插件和程序,可以跳过此准备步骤。
2627

28+
### ubuntu 支持
29+
30+
本插件支持在 **ubuntu 18.04** 版本下运行,为了避免在 ubuntu 系统下频繁获取串口权限,需要将当前用户加入到 `dialout` 用户组中,手动输入如下命令即可,user 是系统当前当前用户名:
31+
32+
`sudo usermod -aG dialout user`
33+
34+
2735
## 快速入门
2836

2937
### 创建一个 MicroPython 工程

0 commit comments

Comments
 (0)