9

In the current project I'm programming simultaneously an UNO board and a Leonardo one.

Switching back and forth between the two boards in the Tools menu takes too much time because of the other 18 boards that I do not own anyway.

Is there a way to remove those boards from the Tools menu?

2 Answers 2

8

After some more investigation of the IDE folder, I found a text file called boards.txt in the following path.

 [Arduino Path]/hardware/arduino/boards.txt

EDIT: Be sure to make a copy of the file in case you mess up the following part.

Between two series of '#' characters there will be all the information on a specific microcontroller (e.g uno.name=Arduino Uno). Deleting every line of text between the two '#' series will have the desired effect of removing the board from the Tools menu.

1
  • I'll have to wait 2 days before I can do it, but surely I'll do it. Mar 29, 2015 at 11:37
1

You can open two Arduino IDE windows, and use Tools / Board to set each of them to one of the two kinds of boards you are programming. Ie, you can have multiple IDE windows open, with different options selected in each. I've programmed an Uno and a Nano device with the same program from two different windows simultaneously (ie, RX lights blinking on both boards at the same time) without problems.

You can use one USB cable and one port, or can use a separate USB cable for each window. You might need to use Tools / Port occasionally if the port number changes when you recable things.

I have the external editor option selected. Text in each Arduino IDE window updates when I click Verify or Load, rather than each time I save the file in emacs. I don't know how it works if you aren't using an external editor and have the same file open in two IDE windows.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.