ESP Boards unavailable

As I experienced erratic compilation & download on Ubuntu 22.04 with IDE 1.8.19 I install IDE 2.0.4 . Loading sketches is Ok but boards manager does not show any ESP32 type boards, mine is ESP32 Wrover. Trying compilation I have error

Platform 'esp32:esp32' not found: platform not installed
Compilation error: Platform 'esp32:esp32' not found: platform not installed

Please help.

Serge

Hi @dubser123. I'm going to ask you to post some additional information that might help us to identify the problem.


:exclamation: NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.


Please do this:

  1. Select File > Preferences from the Arduino IDE menus.
  2. Check the box next to "Show verbose output during: ☐ compilation".
  3. Click the OK button.
  4. Select Sketch > Verify/Compile from the Arduino IDE menus.
  5. Wait for the compilation to fail.
  6. You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
  7. Open a forum reply here by clicking the Reply button.
  8. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  9. Press Ctrl+V.
    This will paste the compilation output into the code block.
  10. Move the cursor outside of the code tags before you add any additional text to your reply.
  11. Click the Reply button to post the output.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the Reply button.
  5. Click the "Upload" icon (image) on the post composer toolbar:
    image
  6. Select the .txt file you saved.
  7. Click the Open button.
  8. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

Here is....

Platform 'esp32:esp32' not found: platform not installed
Compilation error: Platform 'esp32:esp32' not found: platform not installed

This error message is expected as the problem is that ESP boards are not shown in the board manager window so I can not select my board.

And I attach for you the complete log file since IDE opening,, may be usefull for you;

LogFile.txt (42.6 KB)

Thanks a lot.
Serge

I'm not sure about that. If you don't have an ESP32 board selected, then I don't understand how Arduino IDE can know you are compiling for an ESP32 board, but the error message clearly shows it does know that.

Anyway, if this is really the problem, it should be easy enough to resolve. I'll provide instructions you can follow to install the ESP32 boards platform:

  1. Open the web page containing Espressif's official installation instructions for the ESP32 boards platform:
    https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide
  2. Copy the URL shown under the "Stable release link" section of that page.
  3. Select File > Preferences from the Arduino IDE menus.
    The "Preferences" dialog will open.
  4. If there is already a URL for the ESP32 boards platform in the "Additional Boards Manager URLs" field of the "Preferences" dialog, delete it.
  5. Add the URL you copied from the ESP32 boards platform installation instructions to the "Additional Boards Manager URLs" field.
    If there are other URLs in the field, separate them with commas (,).
  6. Click the OK button on the "Preferences" dialog.
  7. You will now see a "Downloading index: ..." notification at the bottom right corner of the IDE window. Wait for that notification to close.
  8. Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  9. Scroll down through the list of boards platforms until you see the "esp32 by Espressif Systems" entry.
  10. Click the "INSTALL" button at the bottom of the entry.
  11. Wait for the installation to finish.

You are welcome. I'm glad the boards are available in the IDE now.

Since it is unrelated to the original subject of this topic, please open a new forum topic for that question. This will ensure it gets the attention of the forum helpers knowledgeable about the subject of your new question.

I find it, the download process problem was caused by an erronous wiring to the board. All is OK now and the sketch is sucessfully downloaded.

Thanks a lot your support was helpfull.

Serge

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.