安装1.0.6版本的esp32开发板环境需要的文件
我们安装时,由于无法科学上网访问github,因此重复下载也一直失败,这里提供相关需要的六个文件,然后用手机热点执行下列操作。
https://github.com/espressif/arduino-esp32/releases/download/1.0.6/esp32-1.0.6.zip
https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-win32.zip
https://github.com/espressif/arduino-esp32/releases/download/1.0.5-rc5/esptool-3.0.0.2-windows.zip
https://dl.espressif.com/dl/esptool-2.3.1-windows.zip
https://codeload.github.com/espressif/arduino-esp32/zip/refs/heads/master
然后,将https://dl.espressif.com/dl/package_esp32_index.json输入ArduinoIDE的 文件->首选项->
然后,进入路径C:\Users\自己的用户名\AppData\Local\Arduino15\staging\packages
将上面的六个压缩文件(不用解压) 放入,最后,进入开发板管理器,搜索esp下载开发板
重启VScode,选择开发板,就可以看见esp32的开发板信息。