Install on linux with Arduino 1.6.5 ide

hwstar
Mon Oct 26, 2015 6:24 pm
I’m attempting to get the github zip files installed in the Arduino IDE 1.6.5 running on Linux. After installing the files to /home/srodgers/projects/arduino/sketchbook/hardware (My Arduino project directory), I don’t see the maple boards in the board list. When I run the board manager I get a bunch of error messages like:

Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/drivers/win. Is it pre-1.5?
WARNING: Error loading hardware folder /home/srodgers/projects/arduino/sketchbook/hardware/drivers
No valid hardware definitions found in folder drivers.
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Control. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Display. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Maple. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Communication. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Stubs. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Sensors. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/MrBrunetteExamples. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Analog. Is it pre-1.5?
Could not find boards.txt in /home/srodgers/projects/arduino/sketchbook/hardware/examples/Digital. Is it pre-1.5?
WARNING: Error loading hardware folder /home/srodgers/projects/arduino/sketchbook/hardware/examples

Has anyone else seen this problem and if so, what fo you need to do to solve it?


mrburnette
Mon Oct 26, 2015 10:59 pm
Generally, this is where we ask members to go and review their specific OS:
https://github.com/rogerclarkmelbourne/ … stallation

Regrets if you have already done this step.

Welcome! We have lots of Linux users, so you are in good company.

Ray


RogerClark
Mon Oct 26, 2015 11:01 pm
I think linux users get these messages because we include examples as part of the download

Unless it doesnt work, please ignore the stuff about missing boards.txt


fredbox
Mon Oct 26, 2015 11:18 pm
It’s been a couple of months since I installed v1.6.5 which is what I am running now. There weren’t any major issues getting it working.

The stm32 folder is in /home/username/Arduino/hardware/ls Arduino/hardware/Arduino_STM32/
drivers GD32F1 README.md STM32F1 STM32F4
examples LICENSE STM32duino-bootloader STM32F3 tools


RogerClark
Mon Oct 26, 2015 11:23 pm
BTW.

I have at least one open issue on github about a missing boards.txt file, but as the issues are purely cosmetic, i.e the repo still works, I have not had time to fix them, because we have more important issues e.g. problems with SPI etc that need to to be dealt with


mrburnette
Mon Oct 26, 2015 11:26 pm
RogerClark wrote:BTW.

I have at least one open issue on github about a missing boards.txt file, but as the issues are purely cosmetic, i.e the repo still works, I have not had time to fix them, because we have more important issues e.g. problems with SPI etc that need to to be dealt with


RogerClark
Mon Oct 26, 2015 11:40 pm
Ray

Yes.

I think if we add files it stops complaining

The issue is that the Arduino IDE thinks all folders in the repo contain cores, this includes the tools and examples and the windows drivers etc

I’ve no idea why the IDE descends into the sub folders within examples.. I didnt think that was a valid structure for a “core”


RogerClark
Mon Oct 26, 2015 11:49 pm
Edit

I’ve added empty boards.txt files to those folders

Windows seems OK with it.

Please retest


hwstar
Tue Oct 27, 2015 1:26 am
I did follow the Linux specific install instructions and ran the install.sh. script.

I don’t have my hardware yet, I’m just wanting to get support installed in the Arduino IDE so I can do some test compiles.

Adding the empty boards.txt files to the directories makes most of the error messages disappear. There are a couple of lingering messages which still show up when the board manager is run which I can’t seem to get rid of even if I put an empty boards.txt file in the affected directories. Maybe these can be safely ignored, because running the board manager isn’t a required step.

The main issue I’m having is not seeing the Maple boards show up when I start the Arduino IDE after installing the files in the Arduino hardware directory.


hwstar
Tue Oct 27, 2015 2:30 am
I was able to get the maple boards to show up by putting the .zip file contents in the arduino distribution hardware directory. This does not work if a hardware directory is placed at your sketchbook location ( in my case /home/srodgers/projects/arduino/sketchbook/hardware). I’m not using the default location of ~/Arduino for the sketchbook location and this may have something to do with it.

A test compile of an empty sketch produced an image.


mrburnette
Tue Oct 27, 2015 2:36 am
I’m not using the default location of ~/Arduino for the sketchbook location and this may have something to do with it.

Yep.


RogerClark
Tue Oct 27, 2015 2:47 am
OK

I did think your folder structure looked a bit odd, as I’ve not see a sketchbook folder before, but I assumed you had set some other config to have an alternative folder path


Rick Kimball
Tue Oct 27, 2015 2:59 am
hwstar wrote:This does not work if a hardware directory is placed at your sketchbook location ( in my case /home/srodgers/projects/arduino/sketchbook/hardware). I’m not using the default location of ~/Arduino for the sketchbook location and this may have something to do with it.

Leave a Reply

Your email address will not be published. Required fields are marked *