Arduino IDE の esp32 プラグイン" class="section">

Arduino IDE を開いて、「ツール」>「ボード」を選択すると、Arduino IDE には Arduino AVR ボードしかなく、esp32 がないことがわかります。

../../_images/install_the_esp32_plugin-1.png

そのため、Arduino IDE に ESP32 ボードをインストールする必要があります。次の手順に従います。

1.ファイル > 環境設定を開く

../../_images/install_the_esp32_plugin-2.png

2.開発ボード管理アドレスURLを追加します。

../../_images/install_the_esp32_plugin-3.png

3. 下のボックスの URL をコピーし、「追加のボード マネージャーの URL」に追加します。

http://arduino.esp8266.com/stable/package_esp8266com_index.json https://www.arduino.me/package_esp32_index.json

../../_images/install_the_esp32_plugin-4.png

4. URLを追加したら、「OK」をクリックします。

../../_images/install_the_esp32_plugin-5.png
../../_images/install_the_esp32_plugin-6.png

5.[ツール] > [ボード] > [ボード マネージャー] をクリックします。

../../_images/install_the_esp32_plugin-7.png

6. BOARDS MANAGERの検索バーで「ESP32」を検索してインストールします。

../../_images/install_the_esp32_plugin-8.png

7.次の画面が表示されたら、インストールが完了するまで待ってから、Arduino IDEをオフにしてください。

../../_images/install_the_esp32_plugin-9.png

8.Arduino IDE を再度開き、「ツール」>「ボード」を選択します。esp32 ボードが表示されます。

../../_images/install_the_esp32_plugin-10.png