Maybe I am missing something but the new Arduino IDE does not have a processor drop down. Is there some way this can be set in a configuration file? All of the old Arduino IDEs had this as a standard. Why would you remove it?
Can you explain that or show a screendump ?
When I select the "Arduino AVR Boards" and then the "Arduino Nano", then a "Processor" item is added to the menu.
Please take a look at this PNG. It is a screen print of trying to compile Marlin 2.0. There is no processor drop down like there is in all the other Arduino Sketch IDEs. Thanks for getting back to me on this. Best to you. Richard
I get "Anet V1.0" or "Anet V1.0 (Optiboot)" but processor is never a drop down. Thanks for your reply. Is there a way to tell this version via a config file what processor to use..
JohnRob, The selection of processor was standard in all versions of the Arduino IDE since version one. There must be a way to select it. I can no figure out what configuration to add/change to make it work. Thanks for your help. Again best to you. Richard
Thanks so much for informing us of this issue @Richard_Brown!
I have now submitted a formal bug report to the IDE developers:
The workaround is to install the Sanguino boards platform using the Arduino Boards Manager. I'll provide instructions:
Close all Arduino IDE 2.x windows.
Uninstall the manually installed version of the Sanguino boards platform by deleting this folder:
<sketchbook folder>/hardware/Sanguino
If you don't know it, you can find the location of the sketchbook folder in the Arduino IDE by opening File > Preferences from the menus and then checking the path shown in the "Sketchbook location" preference.
Please be very careful when deleting things from your computer. When in doubt, back up!
Start Arduino IDE 2.x.
Select File > Preferences from the Arduino IDE menus.
Add the following URL to the "Additional Boards Manager URLs field:
If you have multiple Additional Boards Manager URLs, separate them with commas.
Click the OK button.
Close all Arduino IDE 2.x windows.
Start Arduino IDE 2.x.
(this is needed because of a bug where the newly added Boards Manager URLs are only recognized after you restart the IDE)
Select Tools > Board > Boards Manager from the Arduino IDE menus.
The Boards Manager side bar will now open in the Arduino IDE.
In the search field, type sanguino
From the list of search results, click on "Sanguino by Kristian Sloth Lauszus".
Click the INSTALL button.
Wait for the installation to finish
"Platform Sanguino:avr@1.0.3 installed" will be shown in the IDE's "Output" pane.
After doing that, you should now be able to select Tools > Board > Sanguino > Sanguino from the Arduino IDE menus and then see the expected "Tools > Processor".
I did this and there was no Tools>Processor in the Tools drop down. Also, I have the json in the other Arduino IDEs and all works fine. I think version 2 read the version 1.X config files. I did go back and put it in to version 2.0 just to make sure.
From the screenshot, it looks like you forgot to do step 2 in my instructions above. The "(in Sketchbook)" suffix on the Tools > Board > Sanguino (in Sketchbook) menu item shows that it is still using the Sanguino boards platform that is installed under <sketchbook folder>/hardware/Sanguino, but I told you to delete that.
It does not. Arduino IDE 1.x and 2.x use incompatible configuration systems, with separate configuration files.
There should be after you follow my instructions above exactly.
OK let me check that again. I have a few versions of Arduino IDE on my machine and have been using them. I will delete the file. Thanks again.. Richard
Still trying to figure out where Arduino 2.0 get that value. I have deleted it from the place you recommended and uninstalled the IDE and reinstalled it but it has not gone away.. Let me try more things.. and any recommendations would be grateful. Note I have at least 3 version of Sketch installed.. Give me a few more days.
OK got it.. Yep, got it. Had to use a regular Arduino Uno and run the blink in it then download Sanguino and compile it. THANKS.. Got it .. Best to you..
Yes, please do not close this out. I have done an export binaries and I am looking for them now. Quite a trip but getting there.. AGAIN THANKS. Richard
There was a change in the way the Sketch > Export Compiled Binary feature works. The classic Arduino IDE saves the compiled binary files to the root of the sketch folder. Arduino IDE 2.x saves them to the build/<FQBN> folder, where <FQBN> is the "fully qualified board name" (machine readable identifier) for the currently selected board, but converted to a valid folder name by replacing all : with .. In this particular case, it will be build/Sanguino.avr.sanguino.
A convenient way to access the sketch folder is by using the Sketch > Show Sketch Folder menu in the Arduino IDE.
The need to document this change in the binary save location was discussed here: