Hi Guys,
Clean install of 2.2.1 on OSX.
Installed Giga R1 board.
Only built in examples are available when "Giga R1" is selected as board.
Does anyone else see this?
Thanks
Andy
Dozie
October 13, 2023, 6:44am
2
Do complete Uninstall Arduino IDE and then re-install the Arduino IDE . Make sure that you install all the dependencies ( Package Core and Libraries) that shows up after the installation (you need internet connection when installing the IDE). If your machine is running Windows 11, check How to Fix Arduino Problem on Windows 11 and grant the IDE admin right.
Thanks Dozie.
I had already done that before posting.
Doesn't seem to matter so much now as the board is totally dead
Cheers
Andy
Aha, the board is back.
Any other ideas how to get the examples showing up, I have already uninstalled Arduino totally, removed the arduino15 folder, removed all libs, removed all sketches, and re-installed Arduino and the board.
Installed 1.8.19, examples show there perfectly but not in 2.2.1
Aha, after installing 1.8.19 the examples are now appearing in 2.2.1
Magic.
Hi @BobTheDog
It sounds like 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 you encounter it again, you can try using the nightly build of Arduino IDE, which has the fix of the bug:
https://www.arduino.cc/en/software#nightly-builds
1 Like
Thanks, the examples went missing again so I have just been looking at them in 1.8.19!
I will give the nightly build a go...
Thanks
Andy
Hi @ptillisch
That nightly version fixed the issue, thanks very much.
Andy
You are welcome. I'm glad it is working now.
Regards,
Per