esp32-S3 + visual studio code 开发环境搭建

一、首先在下面链接网页中下载esp-idf v5.1.1离线安装包 ,并安装到指定位置。dl.espressif.cn/dl/esp-idf/https://dl.espressif.cn/dl/esp-idf/

安装过程中会提示需要长路径支持,所以windows系统需要开启长路径使能

Step 1: 打开运行,并输入regedit

Step 2: 找到路径"计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem"。

Step 3: 在右侧窗口中找到名称为"LongPathsEnabled"的"DWORD (32 位) 值"条目,并双击它。 Step 4: 将数值数据更改为1,然后选择"确定"按钮。

Step 5: ESP-IDF离线安装包中点击 应用修复。

安装完成后,切换到ESP-IDF安装的Python环境路径,例如:C:\Espressif\python_env\idf5.1_py3.11_env\Scripts>

输入 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

搜索Espressif IDF并安装

安装完成后 ,按下 F1 或 Ctrl+Shift+P 打开命令行,输入 esp-idf extension,并点击"配置 ESP-IDF 插件"打开如下界面:

选择Grobal,然后点击ESPRESS

安装出现错误:

"D:\Espressif\tools\idf-python\3.11.2\python.exe -m pip" is not valid. (ERROR_INVALID_PIP)

除安装文件夹下 *:\Espressif\tools 内的 idf-git 和 idf-python 两个文件夹,在vscode内重试一下就好了。

相关推荐
tan180°4 小时前
MySQL表的操作(3)
linux·数据库·c++·vscode·后端·mysql
万千思绪8 小时前
【PyCharm 2025.1.2配置debug】
ide·python·pycharm
我在看世界10 小时前
家里vscode连公司内网vscede
vscode·ssh
不想迷路的小男孩13 小时前
Android Studio 中Palette跟Component Tree面板消失怎么恢复正常
android·ide·android studio
AlickLbc13 小时前
在phpstudy环境下配置搭建XDEBUG配合PHPSTORM的调试环境
ide·phpstorm
悠悠小茉莉13 小时前
Win11 安装 Visual Studio(保姆教程 - 更新至2025.07)
c++·ide·vscode·python·visualstudio·visual studio
SZ17011023114 小时前
华为云 银河麒麟 vscode远程连接
ide·vscode·华为云
yanjiee14 小时前
需要scl来指定编译器的clangd+cmake在vscode/cursor开发环境下的配置
ide·vscode·编辑器
Waltt_Qiope18 小时前
关于使用cursor tunnel链接vscode(避免1006 issue的做法)
ide·vscode·issue
Charlene Fung19 小时前
vs code远程自动登录服务器,无需手动输入密码的终极方案(windows版)
运维·服务器·vscode·ssh