Arduino

您所在的位置:网站首页 arduino和scratch Arduino

Arduino

#Arduino| 来源: 网络整理| 查看: 265

这里写目录标题 介绍方式一:IDE添加链接安装方式二:下载源码安装1、克隆arduino-esp32源码或直接下载 Git克隆源码直接下载源码点击get.exe安装编译器修改一下文件名字--编译的时候不会有警告 Arduino2.0安装ESP32

介绍

 在Arduino IDE 上安装ESP32开发环境有两种方式:

方式一:IDE添加链接方式二:下载源码安装 方式一:IDE添加链接安装

点击左上角“文件”–>首选项–>附加开发板管理器网址–>在输入框里面输入网址https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json

在这里插入图片描述点击好,软件就会自己安装了,安装好后重新启动一下Arduino IDE软件。

方式二:下载源码安装 1、克隆arduino-esp32源码或直接下载

在arduino开发环境的安装目录arduino-1.8.4\hardware下建立一个文件夹 espressif,然后将arduino-esp32源码克隆到这个目录下。

Git克隆源码

在文件夹里点右键,选择git bash here(前提是你已经安装了Git) 命令行输入:git clone https://github.com/espressif/arduino-esp32.git

在这里插入图片描述

直接下载源码

 Git下载太慢了可以直接下载。然后解压到这个文件下面也是一样的。

源码地址:https://github.com/espressif/arduino-esp32

点击get.exe安装编译器

等到下载完毕,进入文件夹 arduino-1.8.4\hardware\espressif\arduino-esp32\tool 点击get.exe就可以了

修改一下文件名字–编译的时候不会有警告

arduino-1.8.4\hardware\espressif\esp32

Arduino2.0安装ESP32

文档:https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html

稳定版地址(建议):https://espressif.github.io/arduino-esp32/package_esp32_index.json 开发版地址:https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json

右上角File–》Preferences 如下图,把稳定版地址填到框框里去。点击OK 在这里插入图片描述 在这里插入图片描述

16.48开始下载的 17.00完成安装

Downloading packages esp32:[email protected] esp32:[email protected] esp32:[email protected] esp32:[email protected]_20220823 esp32:[email protected] esp32:[email protected]_20220823 esp32:[email protected] esp32:[email protected] esp32:[email protected] esp32:[email protected] esp32:[email protected] Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing esp32:[email protected]_20220823 Configuring tool. esp32:[email protected]_20220823 installed Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing esp32:[email protected]_20220823 Configuring tool. esp32:[email protected]_20220823 installed Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing esp32:[email protected] Configuring tool. esp32:[email protected] installed Installing platform esp32:[email protected] Configuring platform. Platform esp32:[email protected] installed


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3