ESP32-C3 arduino 环境搭建

一、下载最新arduino

https://www.arduino.cc/en/Main/Software?setlang=cn


二、设置包地址

文件–>首选项–>

  1. esp32使用这个https://dl.espressif.com/dl/package_esp32_index.json
  2. 8266使用这个http://arduino.esp8266.com/stable/package_esp8266com_index.json

ESP32-C3 arduino 环境搭建_第1张图片

三、选择esp32开发板

工具–>开发板–>开发板管理器–>输入esp32

四、替换新的esp32包

  1. 从 https://github.com/espressif/arduino-esp32
    下载ZIP
  2. 解压到C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32
  3. 运行 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\tools 里面的get.exe 安装一下环境
  4. 搞定

五、还发现一种方式

直接输入包地址
ESP32-S2 and ESP32-C3 Support
If you want to test ESP32-S2 and/or ESP32-C3 through the board manager, please use the development release link:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
ESP32-C3 arduino 环境搭建_第2张图片

你可能感兴趣的:(ESP32)