一、要求:
1、git账号 https://github.com/
2、码云账号 https://gitee.com/
3、Arduino安装包,下载地址:https://www.arduino.cc/en/Main/Software
二、登陆git后打开https://github.com/espressif/arduino-esp32,下载支持库
如果网络好的话直接下载
网速不行就得通过码云中转啦,操作如下
1、点击 Fork
2、打开码云
关联git账号后导入
3、导入成功后下载
三、安装
1、Arduino安装(省略)
2、库安装
1)将下载的库解压到Arduino安装目录下的 “hardware” 文件夹中
2)运行 get.exe (路径: “安装目录\hardware\arduino-esp32-master\arduino-esp32\tools”)
到这里环境搭建就完成了