Arduino IDE 2.0 Bets Processor drop down not present

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?

Thanks and best to you all.
Richard

1 Like

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.

1 Like

@Richard_Brown, your topic has been moved to a more suitable location on the forum.

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

It seems you have selected the Sangiuno board. What happens when you highlight the Marlin AVR boards?

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..

Thanks gain.
Richard

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

Did you see the youtube video on how to install Marlin on Arduino IDE?

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:

  1. Close all Arduino IDE 2.x windows.
  2. 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!
  3. Start Arduino IDE 2.x.
  4. Select File > Preferences from the Arduino IDE menus.
  5. Add the following URL to the "Additional Boards Manager URLs field:
    https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
    
    If you have multiple Additional Boards Manager URLs, separate them with commas.
  6. Click the OK button.
  7. Close all Arduino IDE 2.x windows.
  8. 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)
  9. Select Tools > Board > Boards Manager from the Arduino IDE menus.
    The Boards Manager side bar will now open in the Arduino IDE.
  10. In the search field, type sanguino
  11. From the list of search results, click on "Sanguino by Kristian Sloth Lauszus".
  12. Click the INSTALL button.
  13. 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.

Should there have been a Tools> Processor I have never seen it in the version 2 of Arduino IDE like there has always been in all the version 1.X IDEs

Thanks you for getting back to me on this. Do you have Arduino IDE 1.X in stalled on your machine? Can you look at Tools > Processor.Richard

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.

image

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.

Yes

Yes

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.

Thanks Richard


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..

Richard

I'm very glad to hear it's working now!

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:

OK thanks let me check that out.. Thanks again.. Richard