After I installed Arduino IDE 2.2.1 with Arduino ESP Boards 2.0.13 and ESP32 (core) 2.0.14, I can't see examples of ESP32 like WiFi, WiFiscane or any other examples of ESP32. How to solve this problem?
Hi @thitinantan . It sounds like you are affected by this bug:
opened 11:49AM - 26 Sep 23 UTC
closed 12:41PM - 05 Oct 23 UTC
conclusion: resolved
topic: code
type: imperfection
### Describe the problem
When I start the IDE, and the board is already selec… ted from the previous app session, the `File` > `Examples` > `Examples for <board name>` and `Sketch` > `Include Library` > `Arduino libraries` menu groups are missing.
### To reproduce
1. Select **File > New** from the Arduino IDE menus.
1. Select **File > Save As...** from the Arduino IDE menus.
1. Save the sketch to any convenient name and location.
**ⓘ** This step is performed in order to associate the board+network port selection with a sketch that can be restored on IDE startup.
1. Select any board from the Arduino IDE menus.
1. Select **File > Quit** from the Arduino IDE menus.
1. Start Arduino IDE.
The saved sketches that were open during the previous session will be restored.
1. Select the window of the sketch that has the board pre-selected due to the association created in the previous steps.
1. Open the **File > Examples** menu.
🐛 The "**Examples for \<board name\>**" section of the menu (including the examples that should be listed there) is absent.
1. Open the **Sketch > Include Library** menu.
🐛 The "**Arduino libraries**" section of the menu (including the examples that should be listed there) is absent.
### Expected behavior
Expected after IDE start:
<img width="535" alt="Screenshot 2023-09-26 at 13 43 31" src="https://github.com/arduino/arduino-ide/assets/1405703/c133e9ae-5547-4a68-a0f0-caa04471868e">
<img width="572" alt="Screenshot 2023-09-26 at 13 43 40" src="https://github.com/arduino/arduino-ide/assets/1405703/76d34564-6abd-458c-8afb-cf3b6057200d">
Actual after IDE start:
<img width="505" alt="Screenshot 2023-09-26 at 13 46 18" src="https://github.com/arduino/arduino-ide/assets/1405703/416fe0b4-d5b8-4f38-afc0-292c1a518b2d">
<img width="703" alt="Screenshot 2023-09-26 at 13 46 23" src="https://github.com/arduino/arduino-ide/assets/1405703/edba5b3f-25c3-458b-b1fe-4ac5619c6e0c">
### Arduino IDE version
2.2.1
### Operating system
- macOS
- Windows
### Operating system version
- macOS 13.5.2
- Windows 11
### Additional context
Breaking change: #2165
<a name="workaround"></a>
#### Workaround
1. Select any other board from the **Tools > Board** menu in Arduino IDE.
1. Select the target board in Arduino IDE once again.
After doing that, the menus will be populated as expected.
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
If so, you can perform this procedure as a workaround:
Select any other board from the Tools > Board menu in Arduino IDE.
Select the target board in Arduino IDE once again.
After doing that, the menus will be populated as expected.
The bug has already been fixed, but the fix was made after the time of the Arduino IDE 2.2.1 release. The fix will be available in the next release of Arduino IDE.
1 Like
system
Closed
August 5, 2024, 7:55am
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.