LeoStick install and first time use - Linux, Ubuntu

A shrunk down Leonardo-compatible board, thumb drive sized with native USB support. [Product info]
Pogo
Posts: 6
Joined: Thu Dec 19, 2013 6:49 am

Re: LeoStick install and first time use - Linux, Ubuntu

Post by Pogo » Fri Jan 10, 2014 10:52 am

johnb wrote:
If a brand-new LeoStick appears in your Christmas stocking, just follow this:
http://www.freetronics.com/pages/leosti ... rted-guide
Thanks John. I love the circular reference. ;-)

Following the advice about creating the hardware directory in the sketchbook directory and unpacking the leostick directory into it produced zero effect. Selecting Board from the Tools menu lists all the boards in /home/pogo/arduino-1.0.5/hardware/arduino/boards.txt.

Overwriting that file with the boards.txt file from the LeoStick directory lists just the Leostick variants, so *that* is the hardware directory that should be used, and finally, appending the contents of the original boards.txt to the Leostick version produces a list of all boards, headed of course by the Leostick variants.

So, it's up, it runs, but the install instructions could use some tweaking.

Oh. I found, BTW that selecting Arduino Leonardo as the board worked ok for getting blink and a few other simple examples running. Is there any difference that the software would notice?

Pogo.

andrew
Freetronics Staff
Freetronics Staff
Posts: 978
Joined: Sun Jul 14, 2013 7:06 am
Location: Melbourne, Australia
Contact:

Re: LeoStick install and first time use - Linux, Ubuntu

Post by andrew » Sat Jan 11, 2014 2:05 am

Glad to hear it works for you. :) We'll review the documentation.

angusgr
Freetronics Staff
Freetronics Staff
Posts: 853
Joined: Tue Apr 09, 2013 11:19 pm
Location: Melbourne, Australia
Contact:

Re: LeoStick install and first time use - Linux, Ubuntu

Post by angusgr » Mon Jan 13, 2014 10:38 pm

Hi Pogo,
Pogo wrote: Following the advice about creating the hardware directory in the sketchbook directory and unpacking the leostick directory into it produced zero effect. Selecting Board from the Tools menu lists all the boards in /home/pogo/arduino-1.0.5/hardware/arduino/boards.txt.

Overwriting that file with the boards.txt file from the LeoStick directory lists just the Leostick variants, so *that* is the hardware directory that should be used, and finally, appending the contents of the original boards.txt to the Leostick version produces a list of all boards, headed of course by the Leostick variants.
Glad you got it working, but that's a little strange. It shouldn't be necessary to hack up any existing files in the Arduino IDE directory. Perhaps the sketchbook directory moved around on you somehow?

If choosing File -> Preferences in the Arduino IDE shows "/home/pogo/sketchbook/" for the sketchbook then the board profile should be /home/pogo/sketchbook/hardware/LeoStick (and there will be a file /home/pogo/sketchbook/hardware/LeoStick/boards.txt)

I've added a couple to the Quick Start guide about this.

Can you confirm that doesn't work for you?
Pogo wrote: Oh. I found, BTW that selecting Arduino Leonardo as the board worked ok for getting blink and a few other simple examples running. Is there any difference that the software would notice?
For LeoStick bootloader V2, the only difference is the USB IDs that the LeoStick uses to identify itself when it plugs in, choosing Leonardo will use Arduino's USB ID. On Windows this means different drivers but on Linux & OS X there's no difference from the driver point of view.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests