Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 12:59
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Getting Arduino run properly on Puppy 5.28 and 5.3 and 5.31
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Author Message
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Sat 08 Oct 2011, 05:28    Post_subject:  Getting Arduino run properly on Puppy 5.28 and 5.3 and 5.31  

As was the case in the past trying to get the Arduino IDE set up in Linux can be a nightmare of download and mismatch and directories not found etc

Below is how I did it

Edited_times_total
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 08 Oct 2011, 07:01    Post_subject:  

moved
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Sat 08 Oct 2011, 18:10    Post_subject:  

Hmm I'd be a little careful with aarf's suggestions above. He makes the statement " if its avr download it" --Not so

Go to the Arduino.cc install page and follow through carefully
http://www.arduino.cc/playground/Learning/Linux

Here is a list of what I installed and mine is up and running in Puppy 5.28

binutils-avr_2.20-2
gcc-avr_4.3.4-1
avr-libc_1.6.7
jre-1.6.0-21-lucid
arduino-0022
libmpfr1ldbl_2.3.1.dfsg.1
libgmp3c2_4.3.2+dfsg

The last two from Ubuntu repo

Edited_times_total
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 08 Oct 2011, 19:42    Post_subject:  

moved
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 08 Oct 2011, 20:20    Post_subject:  

moved
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 09 Oct 2011, 04:26    Post_subject:  

moved
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Sun 09 Oct 2011, 06:39    Post_subject:  

Continuing .... I suggest when you get the arduino window working you go to your Arduino directory and drag the arduino icon on to your desktop. It will then start up without the terminal behind it.. Much neater

I don't know how to make a pet but I'll go have a read and if I can understand how I'll make a pet for this.

EDIT err looks like too much messing about for me atm-dont have the time . Perhaps someone might have a go at it ?

Arduino is a little $5 chip that can be programmed to do amazing things by people who are just ordinary when it comes to electronics or C++ programming. Full startup kits cost $50 or so and with a breadboard you wire up various sensors and devices to it and the info you wish is sent to your computer screen via a USB lead. Many many programs are already written fo you and you download them for free and just plug em in and away you go.

http://www.arduino.cc/

Edited_times_total
Back to top
View user's profile Send_private_message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 09 Oct 2011, 10:51    Post_subject:  

Sorry for messing you thread. i will move the mess.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send_private_message Visit_website 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Mon 17 Oct 2011, 02:37    Post_subject:  

Thanks for moving that.

Now I have delved a little further and found this page for Compiling in Puppy
http://puppylinux.org/wikka/Compiling

I'm downloading the sfs file from http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/puppy-5.2.8/lupu_devx_528-3.sfs atm and suspect some of the Arduino linux list above may not be needed
More on this as I experiment
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Sat 05 Nov 2011, 18:38    Post_subject:  

I have also noted that the java sfs download and install sfs on boot seems to take care of the java side also.So you only need load the sfs file when you want to run Arduino

However I'm just messing with 5.3 Slacko (What a name?)
and am not getting the serial ports up right atm. Its almost running but there are a couple of dependencies missing


libmpc.so.2 libelf.so.0
these can be downloaded from slacko repository

And the choose port and choose board don't come up and it cant compile cause it cant find avr-gcc

Nothing is running right yet
Slacko stinks !
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3978
Location: World_Hub

PostPosted: Sat 05 Nov 2011, 20:04    Post_subject:  

Ty, aboard 528 grab libmpc2 and libelfg0- try again..

To deal with gcc-avr, add it to your PATH variable..

*You'll need this if choosing the bashrc method..
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Tue 08 Nov 2011, 07:19    Post_subject:  

Yeh thanks I got those already from
Quote:
libmpc.so.2 libelf.so.0
these can be downloaded from slacko repository


As far as
Quote:
To deal with gcc-avr, add it to your PATH variable..
I played around a bit with various path solutions to no avail

I think it is a library not found for sure but why puzzles me . Each program has downloaded and installed supposedly correctly. I cant copy the error section bel;ow the sketch window but Ill try a screenshot.
ArduinoErrors.jpg
 Description   
 Filesize   94.24 KB
 Viewed   2067 Time(s)

ArduinoErrors.jpg


Edited_time_total
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Wed 09 Nov 2011, 17:56    Post_subject:  

Been looking deeper into this issue.

Its not the path that I can see
It installs to a directory "avr" in the /usr dir.
So to be sure I adjusted my Path to include /avr /avr/bin /avr/lib avr/includes.

"Env" confirms that, so its looking in all those areas to find what it seeks to no avail.

Anyone have any other ideas ? The window loads perfectly except under tools there are no Serial Ports , no Processors and no bootloaders and compiling a simple program gives the above errors in red ?
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3978
Location: World_Hub

PostPosted: Wed 09 Nov 2011, 20:50    Post_subject:  

Ty, before I say I'm out (for lack of a device to mess with)- which set of distro pkgs did you install.. these?
Back to top
View user's profile Send_private_message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Thu 10 Nov 2011, 03:47    Post_subject:  

I still have it running flawlessly on a 5.28 USB. I just want to get it up on 5.3

I did the same as my previous post for 5.28 except with latest
binutils-avr_2.21
gcc-avr_4.5.3
avr-libc_1.6.7
jre-1.7.0-20110811 which is extra SFS installed by sfs-load
arduino-0022
libmpfr1ldbl_2.3.1.dfsg.1
libgmp3c2_4.3.2+dfsg
libmpc-0.8.2

and the two files mentioned above .
libmpc.so.2 libelf.so.0 but I think these are not needed when I find the fault

aarf seems to get himself in an almighty mess and that's what all the deleted posts are in this thread. What he has on his thread now seems to be taken from mine. He says things like "if its avr download it " and he does that and downloads "dude" I noticed too but "dude" comes down with Arduino 0022 so that's not necessary- he's very confused and writing how-to's ?

Now I'm going to start again and wipe this particular USB stick because I think it has errors. I'll post back when I set up the new stuff

Don't understand what you mean by "for lack of a device to mess with" ?
Don't have arduino or dont have linux box?
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0729s ][ Queries: 13 (0.0047s) ][ GZIP on ]