YMMV

* your mileage may vary

Thursday, 22 January 2015

Arduino IDE 1.6 on ARM Beaglebone Black (BBB)

Compiled .deb packages for Arduino IDE.  Works on ARM (BBB/Pi).
Go to this page if you want to compile/build yourself .....

http://dumb-looks-free.blogspot.fr/2015/01/compile-arduino-ide-16-on-beaglebone.html
Works on:
Linux beaglebone 3.14.26-ti-r39 #1 SMP PREEMPT Mon Dec 8 01:52:29 UTC 2014 armv7l GNU/Linux
"Debian GNU/Linux 8 (jessie)"


here is a link to the files
 arduino_1.6.0_all.deb

​​ arduino-core_1.6.0_all.deb

just in case, maybe take a backup of your system.

I put these files in /home/debian and run the following...

    sudo apt-get update

    dpkg -i arduino-core_1.6.0_all.deb arduino_1.6.0_all.deb


you will get some errors about dependencies, so run the following

    sudo apt-get -f install

    dpkg -i arduino-core_1.6.0_all.deb arduino_1.6.0_all.deb 
    sudo apt-get install gcc-arm-none-eabi bossa-cli



if you get an error loading sketches try:
  • mkdir /usr/share/arduino/hardware/tools/avr/etc/ 
  • ln -s /etc/avrdude.conf /usr/share/arduino/hardware/tools/avr/etc/avrdude.conf


3 comments:

  1. Thanks for the article.
    'sudo apt-get install gcc-arm-none-eabi bossa-cli' fails completely with 'unable to locate packages".
    Would you be so kind as to suggest an alternate way of adding these files?
    Brian

    ReplyDelete
  2. Hello,

    my BBB is packed for a while so I can't check. You might try the https://packages.debian.org/jessie/arduino
    to see the latest. I saw some activity a little while ago and the arduino package main be available directly from debian.

    ReplyDelete
  3. This worked very well for me.
    Note that the 'ln -s /etc/avrdude.conf /usr/share/arduino/hardware/tools/avr/etc/avrdude.conf' sequence was required to make things work as the java libs that come with standard Jesse are not installed by default.

    Well done on compiling and packaging this up! Thanks so much!

    ReplyDelete