Arduino添加ESP32开发板

【2023年3月4日】

最近要在新电脑上安装Arduino,需要进行一些配置,正好记录一下!

Arduino2.0.1 下的开发板添加操作。

ESP32开发板GitHub链接

GitHub - espressif/arduino-esp32: Arduino core for the ESP32Arduino core for the ESP32. Contribute to espressif/arduino-esp32 development by creating an account on GitHub.https://github.com/espressif/arduino-esp32

可直接从GitHub下载压缩包后然后导入Arduino IDE。

ESP8266开发板链接:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

ESP8266开发板GitHub链接:

https://github.com/esp8266/Arduinohttps://github.com/esp8266/ArduinoESP8266开发板链接:

https://arduino.esp8266.com/stable/package_esp8266com_index.json

ESP32 和 ESP8266 导入库属于相同操作。

方法一:直接在Arduino中添加ESP32库

在 arduino-esp32 的 README.md 文件中,可访问 Installing (Windows, Linux and macOS)  查看如何在 Arduino 中安装 ESP32。Installing (Windows, Linux and macOS)

附:一般的操作方法都可在 Arduino-ESP32 Online Documentation 中找到解决的办法。

其实我们需要的就是

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

现在,我们需要打开 Arduino IDE ,选择  文件 → 首选项

将上述链接复制在 其他开发板管理器地址 位置上。点击确定,关闭首选项页面。

接下来需要选择 工具 → 开发板 → 开发板管理器 来添加开发板。

也可直接选择左侧边栏的第二个按钮,打开开发板管理器:

搜索 ESP32 点击安装即可。

安装完毕,重启Arduino即可。

可以看到,在开发板选择界面出现了 ESP32 。

  • 2
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值