For the ESP32, did you do this:
Add Boards Manager Entry
- Open the Arduino IDE. Make sure that you are at version 1.8 or higher, if not then update your IDE with the latest version.
- Click on the File menu on the top menu bar.
- Click on the Preferences menu item. This will open a Preferences dialog box.
- You should be on the Settings tab in the Preferences dialog box by default.
- Look for the textbox labeled “Additional Boards Manager URLs ”.
- If there is already text in this box add a coma at the end of it, then follow the next step.
- Paste the following link into the text box – https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- Click the OK button to save the setting.
?
From: Getting Started with the ESP32 - Using the Arduino IDE (dronebotworkshop.com)