解决vscode创建PIO工程速度慢

·46·1 分钟阅读
嵌入式开发

方法1

修改"C:\Users[你的用户名].platformio\penv\pip.conf"

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com

方法2

修改PIO插件的设置

添加如下代码:

"platformio-ide.customPATH": "C:\\Users\\[你的用户名]\\.platformio\\penv\\Scripts",
"platformio-ide.customPyPiIndexUrl": "https://mirrors.aliyun.com/pypi/simple/",

方法3

输入 pio home 在浏览器中打开