Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: ikea78 on October 23, 2012, 02:09:53 PM

Title: ARDUINO IDE!
Post by: ikea78 on October 23, 2012, 02:09:53 PM
Does anybody know of a way to run the Arduino IDE on Tiny Core?  I would like to be able to write, compile, and upload sketches to my Arduino under Tiny Core.

Thanks,
Title: Re: ARDUINO IDE!
Post by: AmatCoder on October 23, 2012, 03:18:46 PM
It just need openjdk-7-jre, isn't?
Title: Re: ARDUINO IDE!
Post by: AmatCoder on October 23, 2012, 03:37:39 PM
Oh, I see... java binaries are not in $PATH. You can add it:

Code: [Select]
tc@box:~/arduino-1.0.1$ export PATH=$PATH:/usr/local/openjdk-7/jre/bin
tc@box:~/arduino-1.0.1$ ./arduino



Or alternatively you can replace in line 22 of arduino script:
Code: [Select]
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Basewith:
Code: [Select]
/usr/local/openjdk-7/jre/bin/java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base
Title: Re: ARDUINO IDE!
Post by: ikea78 on October 24, 2012, 11:58:23 AM
Awesome.  Thanks for your help!!

It looks like all I will need then are the USB to Serial drivers - libftdi.tcz and libusb.tcz.

I'll try it this weekend.   Thank you!!
Title: Re: ARDUINO IDE!
Post by: curaga on October 24, 2012, 01:03:39 PM
That driver has been in the kernel for a while now. Just install the usb-serial extension.
Title: Re: ARDUINO IDE!
Post by: ikea78 on October 25, 2012, 12:34:18 PM
I now have the Arduino IDE successfully running and able to upload sketches to my Arduino. 

Thanks Curaga and AmatCoder!!