Add a new board in Arduino

ArduinoArduino BoardsArduino IDEArduino Programming Language

To add a new board in Arduino IDE, go to Tools -> Board -> Boards Manager

In the window that opens up, search for the board of your interest, click on that board, and click on the 'Install' button. You can even choose to install an earlier version of the board from the versions dropdown (1.1.6 in the image below).

Some boards are not directly searchable in the Arduino Boards Manager. Popular examples are ESP32 and ESP8266. In order to install the ESP32 and ESP8266 board in Arduino, the following steps can work (other non-available boards may have similar steps).

Step 1: Get the JSON file for that board (generally a quick Google Search gives these results, I just searched 'ESP32 JSON for Arduino'). The following are the JSON files for these boards.,

Step 2: Go to File -> Preferences

Step 3: In the Window that opens up, enter these JSONs, separated by comma, in the 'Additional Board Manager URLs' field and click on OK.

Step 4: Once the above steps are done, you can now search for these boards in Tools -> Board -> Boards Manager and follow the normal installation steps written above.

Published on 23-Mar-2021 15:20:50